Closed
Bug 1470772
Opened 6 years ago
Closed 6 years ago
mingw-w64 builds crash on start-up after bug 1467041 landed on ESR60
Categories
(Firefox Build System :: General, enhancement)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gk, Unassigned)
References
(Blocks 1 open bug)
Details
While testing our RC for our first ESR60-based alpha Tor Browser it turned out that the bundles on Windows are suddenly crashing during start-up (even before a normal Firefox would show the profile selection dialog) which was not the case when using ESR 60.0.1.
After some bisecting it turned out that the fix for bug 1467041 is causing this. For now I reverted that one for our Windows builds (+ the fix for bug 1464084 to be on the safe side).
We build with GCC 6.4.0 and binutils being essentially 2.26.1.
Comment 1•6 years ago
|
||
Triaging an ni'ing :glandium since bug 1467041 was his fix.
Flags: needinfo?(mh+mozilla)
Comment 2•6 years ago
|
||
Are --gc-sections or --icf=safe known to have problems on mingw64 or binutils 2.26.1 specifically?
Updated•6 years ago
|
Flags: needinfo?(mh+mozilla) → needinfo?(gk)
Comment 3•6 years ago
|
||
So I updated my esr branch and sent a try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=fae48d846d631884ccb722ef87ae08946d38f7ed&selectedJob=184992848 It's building with --enable-release but isn't crashing.
Flags: needinfo?(jacek)
Comment 4•6 years ago
|
||
We narrowed this down to --gc-sections; but that doesn't cause a crash for me in TreeHerder, so it's either a patch Tor has that Mozilla doesn't or a slight toolchian difference between Tor and Mozilla.
Flags: needinfo?(gk)
Comment 5•6 years ago
|
||
Is the startup crash in nsComponentManagerImpl::InitializeStaticModules ?
Comment 6•6 years ago
|
||
(In reply to Nathan Froyd [:froydnj] (away until 16 July 2018) from comment #2)
> Are --gc-sections or --icf=safe known to have problems on mingw64 or
> binutils 2.26.1 specifically?
I think it's considered not well tested.
Flags: needinfo?(jacek)
Comment 7•6 years ago
|
||
It's crashing in https://searchfox.org/mozilla-central/rev/a80651653faa78fa4dfbd238d099c2aad1cec304/toolkit/xre/nsAppRunner.cpp#3224
Specifically, it can't access detail::gChaosModeCounter
Reporter | ||
Comment 8•6 years ago
|
||
The problem is https://sourceware.org/bugzilla/show_bug.cgi?id=19803. Some fixes for it made it into 2.27 which Mozilla is using but we use 2.26.1. In particular, https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=4153b6dbb0f38a16fd5b583761aa811212fbb9a5 solves the crash we are seeing.
Marking this as WONTFIX on Mozilla's side and we'll look into either backporting the necessary patch or hopefully bumping our binutils version (which is unfortunately blocked on https://sourceware.org/bugzilla/show_bug.cgi?id=23466).
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•