Bug 1385855 - Set rust debuginfo=1 for OSX builds. rs=bustage-fix
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Mon, 31 Jul 2017 14:22:54 +0200
changeset 28525 171d13fd4ff6d0154e1b199974aa49fabdbd2af4
parent 28524 8530044d4d8cd0ca8344d7b7512f63a5197c77b0
child 28526 3e3a3b2bdf4721995914e0f6a4e470011eab3878
push id1986
push userclokep@gmail.com
push dateWed, 02 Aug 2017 14:43:31 +0000
treeherdercomm-beta@b51c9adf2c9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1385855, 1380381
Bug 1385855 - Set rust debuginfo=1 for OSX builds. rs=bustage-fix See Bug 1380381 [build symbols missing on macOS/OS X...]
suite/config/mozconfigs/macosx64/debug
suite/config/mozconfigs/macosx64/l10n-mozconfig
suite/config/mozconfigs/macosx64/nightly
suite/config/mozconfigs/macosx64/release
suite/config/mozconfigs/macosx64/release-l10n
--- a/suite/config/mozconfigs/macosx64/debug
+++ b/suite/config/mozconfigs/macosx64/debug
@@ -11,8 +11,11 @@ export MOZILLA_OFFICIAL=1
 MOZ_ADDON_SIGNING=0
 # Disable enforcing that add-ons are signed by the trusted root
 MOZ_REQUIRE_SIGNING=0
 
 # Package js shell
 export MOZ_PACKAGE_JSSHELL=1
 
 ac_add_options --with-ccache
+
+# XXX hack to work around dsymutil failing on OSX builds (bug 1380381, 1385855)
+ac_add_options RUSTFLAGS='-C debuginfo=1'
--- a/suite/config/mozconfigs/macosx64/l10n-mozconfig
+++ b/suite/config/mozconfigs/macosx64/l10n-mozconfig
@@ -13,8 +13,11 @@ ac_add_options --disable-compile-environ
 
 # Needed to enable breakpad in application.ini
 export MOZILLA_OFFICIAL=1
 
 # Disable checking that add-ons are signed by the trusted root
 MOZ_ADDON_SIGNING=0
 # Disable enforcing that add-ons are signed by the trusted root
 MOZ_REQUIRE_SIGNING=0
+
+# XXX hack to work around dsymutil failing on OSX builds (bug 1380381, 1385855)
+ac_add_options RUSTFLAGS='-C debuginfo=1'
--- a/suite/config/mozconfigs/macosx64/nightly
+++ b/suite/config/mozconfigs/macosx64/nightly
@@ -14,8 +14,11 @@ export MOZ_PACKAGE_JSSHELL=1
 export MOZILLA_OFFICIAL=1
 
 # Disable checking that add-ons are signed by the trusted root
 MOZ_ADDON_SIGNING=0
 # Disable enforcing that add-ons are signed by the trusted root
 MOZ_REQUIRE_SIGNING=0
 
 ac_add_options --with-ccache
+
+# XXX hack to work around dsymutil failing on OSX builds (bug 1380381, 1385855)
+ac_add_options RUSTFLAGS='-C debuginfo=1'
--- a/suite/config/mozconfigs/macosx64/release
+++ b/suite/config/mozconfigs/macosx64/release
@@ -11,8 +11,11 @@ export MOZILLA_OFFICIAL=1
 
 # Disable checking that add-ons are signed by the trusted root
 MOZ_ADDON_SIGNING=0
 # Disable enforcing that add-ons are signed by the trusted root
 MOZ_REQUIRE_SIGNING=0
 
 # Package js shell
 export MOZ_PACKAGE_JSSHELL=1
+
+# XXX hack to work around dsymutil failing on OSX builds (bug 1380381, 1385855)
+ac_add_options RUSTFLAGS='-C debuginfo=1'
--- a/suite/config/mozconfigs/macosx64/release-l10n
+++ b/suite/config/mozconfigs/macosx64/release-l10n
@@ -13,8 +13,11 @@ ac_add_options --disable-compile-environ
 
 # Needed to enable breakpad in application.ini
 export MOZILLA_OFFICIAL=1
 
 # Disable checking that add-ons are signed by the trusted root
 MOZ_ADDON_SIGNING=0
 # Disable enforcing that add-ons are signed by the trusted root
 MOZ_REQUIRE_SIGNING=0
+
+# XXX hack to work around dsymutil failing on OSX builds (bug 1380381, 1385855)
+ac_add_options RUSTFLAGS='-C debuginfo=1'