From 9d82f90b264e5918fe9f9a483cd472fc9f95aae1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 1 Feb 2021 12:06:16 +0100 Subject: [PATCH] selftest: Disable detection of ODR violations Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- selftest/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.47.3