Bug 1287971 - Disable sandboxing in Linux ASan builds. r=jhector
authorJed Davis <jld@mozilla.com>
Fri, 22 Jul 2016 08:50:00 -0400
changeset 306300 8d2a4af272e3a6247241fa5b1634f6c705cd8a82
parent 306299 af78c13c85e52b6246b39055c7738fad73aec5db
child 306301 850f1a2a24cf94f6f959a8632e0d795b6f64bef3
push id79821
push userryanvm@gmail.com
push dateFri, 22 Jul 2016 20:17:12 +0000
treeherdermozilla-inbound@850f1a2a24cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjhector
bugs1287971, 1287437
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1287971 - Disable sandboxing in Linux ASan builds. r=jhector ASan itself can be accomodated under sandboxing, but LSan can't. Also fixes bug 1287437.
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -4510,18 +4510,19 @@ dnl ====================================
 if test -n "$MOZ_NO_EV_CERTS"; then
     AC_DEFINE(MOZ_NO_EV_CERTS)
 fi
 AC_SUBST(MOZ_NO_EV_CERTS)
 
 dnl ========================================================
 dnl = Sandboxing support
 dnl ========================================================
-if test -n "$MOZ_TSAN"; then
+if test -n "$MOZ_TSAN" -o -n "$MOZ_ASAN"; then
     # Bug 1182565: TSan conflicts with sandboxing on Linux.
+    # Bug 1287971: LSan also conflicts with sandboxing on Linux.
     case $OS_TARGET in
     Linux|Android)
         MOZ_SANDBOX=
         ;;
     esac
 fi
 
 MOZ_ARG_DISABLE_BOOL(sandbox,