Closed Bug 1047803 Opened 11 years ago Closed 7 years ago

firefox build is failing in precompile_startupcache

Categories

(Firefox Build System :: General, defect)

32 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wolfiR, Unassigned)

References

Details

Since Firefox 32 (aurora/beta) my build is failing on Linux i386. (It still works fine in x86-64 though). Also it seems to be toolchain dependent. Affected for me is at least gcc 4.8 while gcc 4.7 does not show this issue. [ 4478s] /home/abuild/rpmbuild/BUILD/obj/_virtualenv/bin/python /home/abuild/rpmbuild/BUILD/mozilla/toolkit/mozapps/installer/packager.py -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DAB_CD=en-US -DMOZ_APP_NAME=firefox -DPREF_DIR=defaults/preferences -DMOZ_ENABLE_GNOME_COMPONENT=1 -DMOZ_GTK=1 -DMOZ_NATIVE_NSPR=1 -DMOZ_NATIVE_NSS=1 -DJAREXT= -DMOZ_CHILD_PROCESS_NAME=plugin-container -DMOZ_JSDEBUGGER -DNECKO_WIFI -DDLL_PREFIX=lib -DDLL_SUFFIX=.so -DBIN_SUFFIX= -DBINPATH=bin -DMOZ_ICU_VERSION=52 -DMOZ_ICU_DBG_SUFFIX= \ [ 4478s] --format omni \ [ 4478s] --removals /home/abuild/rpmbuild/BUILD/mozilla/browser/installer/removed-files.in \ [ 4478s] --ignore-errors \ [ 4478s] \ [ 4478s] \ [ 4478s] \ [ 4478s] --optimizejars \ [ 4478s] \ [ 4478s] package-manifest ../../dist ../../dist/firefox \ [ 4478s] [ 4479s] Warning: /home/abuild/rpmbuild/BUILD/obj/browser/installer/package-manifest:33: Missing file(s): bin/browser/defaults/preferences/firefox-l10n.js [ 4479s] Warning: /home/abuild/rpmbuild/BUILD/obj/browser/installer/package-manifest:34: Missing file(s): bin/browser/searchplugins/* [ 4479s] Warning: /home/abuild/rpmbuild/BUILD/obj/browser/installer/package-manifest:459: Missing file(s): bin/defaults/pref/kde.js [ 4490s] Executing /home/abuild/rpmbuild/BUILD/obj/dist/bin/xpcshell -g /home/abuild/rpmbuild/BUILD/obj/dist/bin/ -a /home/abuild/rpmbuild/BUILD/obj/dist/bin/ -f /home/abuild/rpmbuild/BUILD/mozilla/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/"); [ 4490s] resource://gre/components/ActivityMessageConfigurator.js [ 4490s] resource://gre/components/ActivityProxy.js [ 4490s] resource://gre/components/ActivityRequestHandler.js [ 4490s] resource://gre/components/ActivityWrapper.js [ 4490s] resource://gre/components/AlarmsManager.js [ 4490s] resource://gre/components/AppsService.js [ 4490s] resource://gre/components/AutofillController.js [ 4490s] resource://gre/components/BrowserElementParent.js [ 4490s] resource://gre/components/ChromeNotifications.js [ 4490s] resource://gre/components/ColorAnalyzer.js [ 4490s] resource://gre/components/ConsoleAPIStorage.js [ 4490s] resource://gre/components/ContactManager.js [ 4490s] resource://gre/components/CrashService.js [ 4490s] resource://gre/components/DataReportingService.js [ 4490s] resource://gre/components/DataStoreImpl.js [ 4490s] resource://gre/components/DownloadLegacy.js [ 4490s] resource://gre/components/FeedProcessor.js [ 4490s] resource://gre/components/FormHistoryStartup.js [ 4490s] resource://gre/components/InterAppCommService.js [ 4490s] resource://gre/components/InterAppConnection.js [ 4490s] resource://gre/components/InterAppMessagePort.js [ 4490s] resource://gre/components/MozKeyboard.js [ 4490s] resource://gre/components/NetworkGeolocationProvider.js [ 4490s] resource://gre/components/NotificationStorage.js [ 4490s] resource://gre/components/PageThumbsProtocol.js [ 4490s] resource://gre/components/Payment.js [ 4490s] resource://gre/components/PaymentFlowInfo.js [ 4490s] resource://gre/components/PeerConnection.js [ 4490s] resource://gre/components/PermissionPromptService.js [ 4490s] Traceback (most recent call last): [ 4490s] File "/home/abuild/rpmbuild/BUILD/mozilla/toolkit/mozapps/installer/packager.py", line 402, in <module> [ 4490s] main() [ 4490s] File "/home/abuild/rpmbuild/BUILD/mozilla/toolkit/mozapps/installer/packager.py", line 394, in main [ 4490s] args.source, gre_path, base) [ 4490s] File "/home/abuild/rpmbuild/BUILD/mozilla/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache [ 4490s] errors.fatal('Error while running startup cache precompilation') [ 4490s] File "/home/abuild/rpmbuild/BUILD/mozilla/python/mozbuild/mozpack/errors.py", line 101, in fatal [ 4490s] self._handle(self.FATAL, msg) [ 4490s] File "/home/abuild/rpmbuild/BUILD/mozilla/python/mozbuild/mozpack/errors.py", line 96, in _handle [ 4490s] raise ErrorMessage(msg) [ 4490s] mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation When I manually call xpcshell it seems that nothing is happening (no console output) while the return code on the shell is '3'. To me this looks like a compilation issue in the JS engine triggered by gcc 4.8?
I can confirm this bug; the build of FF 32.0 needs an --disable-optimization option.
Another fix for this bug: --enable-optimize="-O2" (FF uses -O3 and -Os by default)
triaging, inactive development stream
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.