From: Andreas Schneider Date: Mon, 1 Feb 2021 11:06:16 +0000 (+0100) Subject: selftest: Disable detection of ODR violations X-Git-Tag: tevent-0.11.0~1850 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d82f90b264e5918fe9f9a483cd472fc9f95aae1;p=thirdparty%2Fsamba.git selftest: Disable detection of ODR violations Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/selftest/wscript b/selftest/wscript index 60297045078..afb1fa936cd 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -296,8 +296,8 @@ def cmd_testonly(opt): 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"