Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
env.CORE_COMMAND = 'unshare --net --user --map-root-user ' + env.CORE_COMMAND
if env.ADDRESS_SANITIZER:
- # For now we cannot run with leak detection
- no_leak_check = "ASAN_OPTIONS=detect_leaks=0 "
+ # For now we cannot run with leak and odr detection
+ no_leak_check = "ASAN_OPTIONS=detect_leaks=0:detect_odr_violation=0 "
# And we need to disable RTLD_DEEPBIND in ldb and socket wrapper
no_leak_check += "LDB_MODULES_DISABLE_DEEPBIND=1 "
no_leak_check += "SOCKET_WRAPPER_DISABLE_DEEP_BIND=1"