Closed
Bug 1449835
Opened 7 years ago
Closed 7 years ago
nsTestCrasher.cpp does not compile for MinGW x64
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
RESOLVED
FIXED
mozilla61
People
(Reporter: tjr, Assigned: tjr)
References
Details
Attachments
(2 files)
59 bytes,
text/x-review-board-request
|
ccorcoran
:
review+
froydnj
:
review+
|
Details |
5.65 KB,
patch
|
jcristau
:
approval-mozilla-esr60+
|
Details | Diff | Splinter Review |
nsTestCrasher.cpp uses an assembly file that doesn't compile for MinGW x64.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
Can we find a way to make this work on MinGW instead of just disabling the feature?
Flags: needinfo?(tom)
Assignee | ||
Comment 4•7 years ago
|
||
So, as I understand it, this code is testing that the Call Frame Information is correct in different crash scenarios for breakpad? I don't think this is useful for MinGW at all - we don't ship this to users so we're not getting stacks from them; I don't know if the CFI fixup is needed on MinGW; MinGW generates DWARF info, not pdbs; we don't have any symbols on MinGW at all right now because the DWARF debug info it generates is (we think) bigger than Windows dll size limit.
In theory I suppose one could port the assembly to a syntax gcc would understand; but I don't know how to do that right now and it doesn't seem like a good investment of time.
Flags: needinfo?(tom)
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8963462 [details]
Bug 1449835 Do not compile Windows x64 Crash Test Assembly for MinGW
https://reviewboard.mozilla.org/r/232384/#review240552
Sorry for the delay but this seems fine to me!
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8963462 [details]
Bug 1449835 Do not compile Windows x64 Crash Test Assembly for MinGW
https://reviewboard.mozilla.org/r/232386/#review238746
::: commit-message-c9306:3
(Diff revision 2)
> +Bug 1449835 Do not compile Windows x64 Crash Test Assembly for MinGW r?ccorcoran
> +
> +The assembly file uses the wrong syntax and MinGW cannot compile it.
Would it be possible instead to adapt the code to build properly under mingw?
Attachment #8963462 -
Flags: review?(ccorcoran) → review+
Comment 7•7 years ago
|
||
Sorry for that last comment... still getting used to reviewboard :x
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 8•7 years ago
|
||
Hi,
When I was trying to land this patch, I've encountered the following error:
hg import https://reviewboard-hg.mozilla.org/gecko/rev/2c202e2490dba8223fecd7268e978a5cb614dae4
applying https://reviewboard-hg.mozilla.org/gecko/rev/2c202e2490dba8223fecd7268e978a5cb614dae4
patching file toolkit/crashreporter/test/nsTestCrasher.cpp
Hunk #4 FAILED at 112
Hunk #6 FAILED at 167
2 out of 7 hunks FAILED -- saving rejects to file toolkit/crashreporter/test/nsTestCrasher.cpp.rej
abort: patch failed to apply
Can you please take a look?
Flags: needinfo?(tom)
Comment 9•7 years ago
|
||
MozReview also says it doesn't have the proper reviews needed for Autoland to push it.
Keywords: checkin-needed
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8963462 [details]
Bug 1449835 Do not compile Windows x64 Crash Test Assembly for MinGW
https://reviewboard.mozilla.org/r/232386/#review241972
r=me for the moz.build bits.
Attachment #8963462 -
Flags: review+
Assignee | ||
Comment 12•7 years ago
|
||
Okay, rebased, and should be landable.
Flags: needinfo?(tom)
Whiteboard: checkin-needed
Comment 13•7 years ago
|
||
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c498706ccf3
Do not compile Windows x64 Crash Test Assembly for MinGW r=ccorcoran,froydnj
Updated•7 years ago
|
Whiteboard: checkin-needed
Comment 14•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Assignee | ||
Comment 15•7 years ago
|
||
[Approval Request Comment]
This is one of several MinGW Build patches I'd like to land in esr60 for Tor. It will prevent them from carrying their own patches for the lifetime of esr60 and will enable us to keep the MinGW build functioning and know if/when/how it was broken by new commits into esr60.
This commit only affects the MinGW build configuration, so it is low-risk.
Attachment #8976255 -
Flags: approval-mozilla-esr60?
Comment 16•7 years ago
|
||
Comment on attachment 8976255 [details] [diff] [review]
esr60.patch
mingw build fix, approved for 60.1esr
Attachment #8976255 -
Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
Comment 17•7 years ago
|
||
bugherder uplift |
status-firefox-esr60:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•