Skip to content

DragonFlyBSD port proposal.#112

Merged
struct merged 1 commit intostruct:masterfrom
devnexen:dfbsd_port
Jul 16, 2022
Merged

DragonFlyBSD port proposal.#112
struct merged 1 commit intostruct:masterfrom
devnexen:dfbsd_port

Conversation

@devnexen
Copy link
Copy Markdown
Contributor

Being close to FreeBSD and sharing similar apis mostly. There is
no huge pages support tough.
The os does not come naturally with proper atomics thus needs
cxx_atomics dependency.

@devnexen
Copy link
Copy Markdown
Contributor Author

It seems no continuous integration support per see. However, locally

clang -Wall -Iinclude/ -DTHREAD_SUPPORT=1 -pthread -DPRE_POPULATE_PAGES=1 -DSMALL_MEM_STARTUP=0 -DSANITIZE_CHUNKS=0 -DFUZZ_MODE=0 -DPERM_FREE_REALLOC=0 -DDISABLE_CANARY=0 -DNEVER_REUSE_ZONES=0 -Wno-pointer-arith -Wno-gnu-zero-variadic-macro-arguments -Wno-format-pedantic -Werror -pedantic -DMALLOC_HOOK=1 -fvisibility=hidden -std=c11 -DALLOC_SANITY=0 -DMEMCPY_SANITY=0 -DUNINIT_READ_SANITY=0 -DCPU_PIN=0 -DEXPERIMENTAL=0 -DUAF_PTR_PAGE=0 -DVERIFY_BIT_SLOT_CACHE=0 -DNAMED_MAPPINGS=0 -DABORT_ON_NULL=0 -DNO_ZERO_ALLOCATIONS=1 -DABORT_NO_ENTROPY=1 -DISO_DTOR_CLEANUP=0 -DSHUFFLE_BIT_SLOT_CACHE=0 -DUSE_SPINLOCK=1 -DUSE_MLOCK=1 -DMEMORY_TAGGING=0 -fPIE -DDEBUG=1 -DLEAK_DETECTOR=1 -DMEM_USAGE=1 -g -ggdb3 -fno-omit-frame-pointer -I/usr/local/cxx_atomics tests/sized_free.c src/iso_alloc_printf.c -o build/sized_free -Lbuild -lisoalloc utils/run_tests.sh Running tests test... Succeeded Running big_tests test... Succeeded Running interfaces_test test... Succeeded Running thread_tests test... Succeeded Running tagged_ptr_test test... Succeeded Running double_free test... Succeeded Running big_double_free test... Succeeded Running heap_overflow test... Succeeded Running heap_underflow test... Succeeded Running leaks_test test... Succeeded Running wild_free test... Succeeded Running unaligned_free test... Succeeded Running incorrect_chunk_size_multiple test... Succeeded Running big_canary_test test... Succeeded Running zero_alloc test... Succeeded Running sized_free test... Succeeded 16 Tests passed 0 Tests failed dcarlier@dflybsdvbox:~/Contribs/isoalloc

Being close to FreeBSD and sharing similar apis mostly. There is
no huge pages support tough.
The os does not come naturally with proper atomics thus needs
cxx_atomics dependency.
@struct
Copy link
Copy Markdown
Owner

struct commented Jul 14, 2022

Will take a look at this and #113 in a few days when I’m at a real computer. Thanks for putting them up!

@struct struct merged commit 9e97b16 into struct:master Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants