Bug 1468646 - Explicitly disable gold when building standalone js on automation. r?build draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 14 Jun 2018 07:52:04 +0900
changeset 807238 83d9a05ea3801b828c0e77e7cd7cda2add6ed886
parent 807235 42b96511be8bb1386d55485d10308609e14428ad
push id113055
push userbmo:mh+mozilla@glandium.org
push dateWed, 13 Jun 2018 22:53:41 +0000
reviewersbuild
bugs1468646
milestone62.0a1
Bug 1468646 - Explicitly disable gold when building standalone js on automation. r?build Because --enable-stdcxx-compat blows up when gold is enabled, so prevent it from being automatically enabled.
js/src/devtools/automation/autospider.py
--- a/js/src/devtools/automation/autospider.py
+++ b/js/src/devtools/automation/autospider.py
@@ -292,17 +292,17 @@ if word_bits == 32:
             sse_flags = '-msse -msse2 -mfpmath=sse'
         env['CCFLAGS'] = '{0} {1}'.format(env.get('CCFLAGS', ''), sse_flags)
         env['CXXFLAGS'] = '{0} {1}'.format(env.get('CXXFLAGS', ''), sse_flags)
 else:
     if platform.system() == 'Windows':
         CONFIGURE_ARGS += ' --target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32'
 
 if platform.system() == 'Linux' and AUTOMATION:
-    CONFIGURE_ARGS = '--enable-stdcxx-compat ' + CONFIGURE_ARGS
+    CONFIGURE_ARGS = '--enable-stdcxx-compat --disable-gold ' + CONFIGURE_ARGS
 
 # Timeouts.
 ACTIVE_PROCESSES = set()
 
 
 def killall():
     for proc in ACTIVE_PROCESSES:
         proc.kill()