Bug 1182565 - Disable sandboxing on Linux Thread Sanitizer builds. r=kang
authorJed Davis <jld@mozilla.com>
Thu, 16 Jul 2015 11:53:00 -0400
changeset 253490 8e1b61112fbb126d25ca739fa99217230267fb50
parent 253489 571b4e0fdf538616f9800bcf72bd992ed16679f6
child 253491 1ece1edb6956bd13c4f62ca2ccefce518e1c245d
push id29067
push userkwierso@gmail.com
push dateSat, 18 Jul 2015 00:57:04 +0000
treeherdermozilla-central@e2f2eb9ecca0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskang
bugs1182565
milestone42.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 1182565 - Disable sandboxing on Linux Thread Sanitizer builds. r=kang
configure.in
--- a/configure.in
+++ b/configure.in
@@ -6664,16 +6664,25 @@ 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
+    # Bug 1182565: TSan conflicts with sandboxing on Linux.
+    case $OS_TARGET in
+    Linux|Android)
+        MOZ_SANDBOX=
+        ;;
+    esac
+fi
+
 MOZ_ARG_DISABLE_BOOL(sandbox,
 [  --disable-sandbox        Disable sandboxing support],
     MOZ_SANDBOX=,
     MOZ_SANDBOX=1)
 
 dnl ========================================================
 dnl = Content process sandboxing
 dnl ========================================================