diff options
author | Ryan Egesdahl <ryan.egesdahl@mongodb.com> | 2020-10-14 13:20:26 -0700 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-14 21:39:35 +0000 |
commit | cf5e17ce73846dced71767e961a8f2d59039fe68 (patch) | |
tree | efff350c068a3ed564f8f57fcbd7e2be13c0e165 | |
parent | 00bdfa2345f6142fb0f4696d21e64d5921a54c60 (diff) | |
download | mongo-cf5e17ce73846dced71767e961a8f2d59039fe68.tar.gz |
SERVER-50363 {A,UB}SAN build should be statically linked
The previous in SERVER-49857 added --link-model=dynamic to the
{A,UB}SAN build, which caused dependency cycles and missing symbols. We
moved to dynamic linking in later versions, but v4.4 does not have the
build infrastructure to support it and likely never will. The addition
was accidental, so it is removed.
-rw-r--r-- | etc/evergreen.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 06fc460e571..144f4e1c84b 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -12301,7 +12301,7 @@ buildvariants: # If you add anything to san_options, make sure the appropriate changes are # also made to SConstruct. san_options: UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer" LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1" ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer" - compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --allocator=system --sanitize=undefined,address --ssl -j$(grep -c ^processor /proc/cpuinfo) --nostrip --link-model=dynamic + compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --allocator=system --sanitize=undefined,address --ssl -j$(grep -c ^processor /proc/cpuinfo) --nostrip resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under {A,UB}SAN build. hang_analyzer_dump_core: false scons_cache_scope: shared |