This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new 31ce32858 fix(ASAN): avoid reporting false 'odr-violation' issues
(#1611)
31ce32858 is described below
commit 31ce328583ecbd92682b1a2fb17f9c8e3d089532
Author: Yingchun Lai <[email protected]>
AuthorDate: Mon Sep 18 15:34:01 2023 +0800
fix(ASAN): avoid reporting false 'odr-violation' issues (#1611)
---
run.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/run.sh b/run.sh
index 5ac6a1964..e6035e957 100755
--- a/run.sh
+++ b/run.sh
@@ -26,6 +26,8 @@ export BUILD_LATEST_DIR=${BUILD_ROOT_DIR}/latest
export REPORT_DIR="$ROOT/test_report"
export THIRDPARTY_ROOT=$ROOT/thirdparty
export
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server:${BUILD_LATEST_DIR}/output/lib:${THIRDPARTY_ROOT}/output/lib:${LD_LIBRARY_PATH}
+# Disable AddressSanitizerOneDefinitionRuleViolation, see
https://github.com/google/sanitizers/issues/1017 for details.
+export ASAN_OPTIONS=detect_odr_violation=0
function usage()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]