Bug 1287971 - Disable sandboxing in Linux ASan builds. r=jhector
authorJed Davis <jld@mozilla.com>
Fri, 22 Jul 2016 08:50:00 -0400
changeset 306407 8d2a4af272e3a6247241fa5b1634f6c705cd8a82
parent 306406 af78c13c85e52b6246b39055c7738fad73aec5db
child 306408 850f1a2a24cf94f6f959a8632e0d795b6f64bef3
push id20102
push usercbook@mozilla.com
push dateMon, 25 Jul 2016 14:17:39 +0000
treeherderfx-team@66498480fe65 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjhector
bugs1287971, 1287437
milestone50.0a1
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,