mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 20:42:06 -04:00
Disable jemalloc for Address and Thread Sanitizers
The Address and Thread Sanitizers both intercept the malloc calls and using the extended jemalloc API interferes with that. This commit disables the use of jemalloc for both ASAN and TSAN enabled builds to eliminate both false positives and false negatives.
This commit is contained in:
parent
3673abc53c
commit
ca228ec3e5
1 changed files with 4 additions and 4 deletions
|
|
@ -864,7 +864,7 @@ gcc:asan:
|
|||
CC: gcc
|
||||
CFLAGS: "${CFLAGS_COMMON} -fsanitize=address,undefined"
|
||||
LDFLAGS: "-fsanitize=address,undefined"
|
||||
EXTRA_CONFIGURE: "--with-libidn2"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --without-jemalloc"
|
||||
<<: *base_image
|
||||
<<: *build_job
|
||||
|
||||
|
|
@ -891,7 +891,7 @@ clang:asan:
|
|||
CC: ${CLANG}
|
||||
CFLAGS: "${CFLAGS_COMMON} -fsanitize=address,undefined"
|
||||
LDFLAGS: "-fsanitize=address,undefined"
|
||||
EXTRA_CONFIGURE: "--with-libidn2"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --without-jemalloc"
|
||||
<<: *base_image
|
||||
<<: *build_job
|
||||
|
||||
|
|
@ -922,7 +922,7 @@ gcc:tsan:
|
|||
CC: gcc
|
||||
CFLAGS: "${CFLAGS_COMMON} -fsanitize=thread"
|
||||
LDFLAGS: "-fsanitize=thread"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock --without-jemalloc"
|
||||
|
||||
system:gcc:tsan:
|
||||
variables:
|
||||
|
|
@ -949,7 +949,7 @@ clang:tsan:
|
|||
CC: "${CLANG}"
|
||||
CFLAGS: "${CFLAGS_COMMON} -fsanitize=thread"
|
||||
LDFLAGS: "-fsanitize=thread"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock"
|
||||
EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock --without-jemalloc"
|
||||
|
||||
system:clang:tsan:
|
||||
variables:
|
||||
|
|
|
|||
Loading…
Reference in a new issue