Closed Bug 1083239 Opened 10 years ago Closed 9 years ago

Firefox 33: Error while running startup cache precompilation

Categories

(Firefox Build System :: General, defect)

33 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: u209627, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Build ID: 20140320012545

Steps to reproduce:

I just compiled Firefox as I always do and got the following error:

resource://gre/modules/devtools/DevToolsUtils.js
resource://gre/modules/devtools/DevToolsUtils.jsm
Traceback (most recent call last):
  File "/home/fraga/src/mozilla/toolkit/mozapps/installer/packager.py", line 402, in <module>
    main()
  File "/home/fraga/src/mozilla/toolkit/mozapps/installer/packager.py", line 394, in main
    args.source, gre_path, base)
  File "/home/fraga/src/mozilla/toolkit/mozapps/installer/packager.py", line 158, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/home/fraga/src/mozilla/python/mozbuild/mozpack/errors.py", line 101, in fatal
    self._handle(self.FATAL, msg)
  File "/home/fraga/src/mozilla/python/mozbuild/mozpack/errors.py", line 96, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/home/fraga/src/mozilla/toolkit/mozapps/installer/packager.mk:720: recipe for target 'stage-package' failed
make[1]: *** [stage-package] Error 1
make[1]: Leaving directory '/home/fraga/src/firefox/browser/installer'
/home/fraga/src/mozilla/browser/build.mk:21: recipe for target 'install' failed
make: *** [install] Error 2
Component: Untriaged → Build Config
Product: Firefox → Core
Summary: Error while running startup cache precompilation → Firefox 33: Error while running startup cache precompilation
My CXXFLAGS was set to -march=native and since I have a Sandybridge processor, there're some bug with AVX instruction set. So the "workaround" is to use -mno-avx or -march=nehalem.
I'm marking this as RESOLVED since the following patch fixes the problem:

https://hg.mozilla.org/integration/mozilla-inbound/rev/3023f9390942
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.