Skip to content

Commit 6c9a499

Browse files
authored
remove trailing newline in compile_env (#622)
* remove trailing newline in compile_env The extra newline results in the `env` command run separately. * add detect_odr_violation=0 to ASAN_OPTIONS * Ignore leak reported in dlopen error.
1 parent 71c740b commit 6c9a499

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.evergreen/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,11 @@ tasks:
384384
- func: "fetch source"
385385
- func: "build and test"
386386
vars:
387-
compile_env: >
387+
compile_env: >-
388388
${compile_env|}
389389
LIBMONGOCRYPT_EXTRA_CFLAGS="-fsanitize=address -pthread"
390-
ASAN_OPTIONS="detect_leaks=1"
390+
# Add detect_odr_violation=0 to ASAN_OPTIONS to ignore odr-violation in IntelDFP symbol: __dpml_bid_globals_table
391+
ASAN_OPTIONS="detect_leaks=1 detect_odr_violation=0"
391392
392393
- name: build-and-test-asan-mac
393394
commands:

.lsan-suppressions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
leak:ccrng_cryptographic_init_once
22
leak:ccrng_cryptographic_generate
33
leak:CRYPTO_zalloc
4+
# Ignore leak reported in dlopen error.
5+
leak:_dlerror_run

0 commit comments

Comments
 (0)