diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-09-16 15:25:01 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-09-16 15:29:46 -0700 |
| commit | 4c49a3d8cd00489e62ab7398d05285361039ef13 (patch) | |
| tree | 7985ac4e0ccc995fe71df950f97ec3402a298e6c | |
| parent | bc89ade401e637fcb7d4d1d0b7f356ca359b0e7d (diff) | |
| download | rust-4c49a3d8cd00489e62ab7398d05285361039ef13.tar.gz rust-4c49a3d8cd00489e62ab7398d05285361039ef13.zip | |
mk: Fix valgrinding with jemalloc
This fixes valgrind on the linux snapshot bot. The command added here makes us require a fairly recent valgrind.
| -rw-r--r-- | mk/platform.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/platform.mk b/mk/platform.mk index 6ee5420664d..ac6cf3c5451 100644 --- a/mk/platform.mk +++ b/mk/platform.mk @@ -47,8 +47,11 @@ else CFG_GCCISH_CFLAGS += -O2 endif +# The soname thing is for supporting a statically linked jemalloc. +# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/ ifdef CFG_VALGRIND CFG_VALGRIND += --error-exitcode=100 \ + --soname-synonyms=somalloc=NONE \ --quiet \ --suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \ $(OS_SUPP) |
