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 253500 8e1b61112fbb126d25ca739fa99217230267fb50
parent 253499 571b4e0fdf538616f9800bcf72bd992ed16679f6
child 253501 1ece1edb6956bd13c4f62ca2ccefce518e1c245d
push id14094
push userkwierso@gmail.com
push dateSat, 18 Jul 2015 01:09:17 +0000
treeherderfx-team@b0f982865190 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskang
bugs1182565
milestone42.0a1
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 ========================================================