-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Dev Platform 2020-08-10
Unit tests are not building when using ASAN:
[21/22] Building +bson_lexer_test
AddressSanitizer: failed to parse suppressions
Aborted
FAILED: +bson_lexer_test
PATH=/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin ASAN_SYMBOLIZER_PATH=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer LSAN_SYMBOLIZER_PATH=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer ASAN_OPTIONS=check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:detect_leaks=1:report_objects=1:suppressions=/home/ubuntu/mongo/etc/lsan.suppressions CCACHE_NOCPP2=1 ICECC_CLANG_REMOTE_CPP=1 ICECC_VERSION=/home/ubuntu/mongo/build/scons/icecc/opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz CCACHE_PREFIX=/usr/bin/icecc build/install/bin/cst_test -fileNameFilter bson_lexer_test
SCons invocation:
./buildscripts/scons.py --allocator=system --sanitize=address --link-model=dynamic --variables-files=./etc/scons/mongodbtoolchain_stable_clang.vars --ninja generate-ninja ICECC=icecc NINJA_PREFIX=asan