-O2 breaks MinGW x86 Opt Build
Categories
(Firefox Build System :: General: Unsupported Platforms, defect, P5)
Tracking
(firefox-esr6870+ fixed, firefox70 fixed)
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-esr68+
|
Details | Review |
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
This still affects mingw-clang. Upstream bug is https://bugs.llvm.org/show_bug.cgi?id=41630
mingw-clang still has separate toolchains for 32 and 64 bit builds, right? Is it just that the 64 bit one has more address space so it doesn't hit this?
I'd still be curious to hear about comment 4.
Anyway, a global -O1 is a pretty big hammer. Can we set flags on individual files in moz.build instead? I guess it would be equivalent to push/pop. I would have been interested in debugging the crash from that but the build has aged out.
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Comment 7•6 years ago
|
||
| Assignee | ||
Comment 8•6 years ago
|
||
[Tracking Requested - why for this release]: We'd like to backport this for Tor. It only affects MinGW builds.
Comment 10•6 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 11•6 years ago
|
||
Comment on attachment 9088047 [details]
Bug 1460791 - Turn on -O2 for MinGW as it seems the bug causing problems is fixed r?dmajor
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This will make the browser faster for Tor =)
- User impact if declined: Tor will need to carry the patch
- Fix Landed on Version: 70
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only affects MinGW build
- String or UUID changes made by this patch:
Comment 12•6 years ago
|
||
Comment on attachment 9088047 [details]
Bug 1460791 - Turn on -O2 for MinGW as it seems the bug causing problems is fixed r?dmajor
optimize mingw builds, approved for 68.2
Comment 13•6 years ago
|
||
| bugherder uplift | ||
Comment 14•6 years ago
|
||
tjr: What actually fixed the underlying issue? Or speaking differently: how do we know we don't hit this issue, when, say, trying to get a chemspill out of the door as quickly as possible?
| Assignee | ||
Comment 15•6 years ago
|
||
(In reply to Georg Koppen from comment #14)
tjr: What actually fixed the underlying issue? Or speaking differently: how do we know we don't hit this issue, when, say, trying to get a chemspill out of the door as quickly as possible?
Hm. Well it also most likely something compiler related. I went and checked the version used in the filed llvm bug and it was clang version 8.0.0 (trunk) (llvm/trunk 348363) and we're currently using clang version 8.0.0 (trunk) (llvm/trunk 348363) .... However a few weeks after I posted that llvm bug I made this commit to put us on the 8 branch. So it seems possible this might come up when we bump to trunk; but when we do that we also have to deal with Bug 1548624
Updated•6 years ago
|
Description
•