Closed Bug 1470993 Opened 7 years ago Closed 7 years ago

Fix reflect mingw clang compilation

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox-esr60 --- fixed
firefox63 --- fixed

People

(Reporter: jacek, Assigned: jacek)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As discussed in bug 1390583, win64 assembly function should not have stdcall decorations (stdcall is not a thing in win64; it works on GCC because it still supports applying stdcall name fixup there) and .scl directive should mark them as external.
Comment on attachment 8987630 [details] Bug 1470993 - Fix reflect mingw clang compilation https://reviewboard.mozilla.org/r/252854/#review259492 I am not the right person to review this... dmajor, are you?
Attachment #8987630 - Flags: review?(n.nethercote) → review?(dmajor)
Comment on attachment 8987630 [details] Bug 1470993 - Fix reflect mingw clang compilation https://reviewboard.mozilla.org/r/252854/#review259506 It's reasonable not to include the stdcall decorators for Win64... if the compiler is happy with this, it seems fine to me.
Attachment #8987630 - Flags: review?(dmajor) → review+
Pushed by jacek@codeweavers.com: https://hg.mozilla.org/integration/autoland/rev/1e0221491bf7 Fix reflect mingw clang compilation r=dmajor
Comment on attachment 8987630 [details] Bug 1470993 - Fix reflect mingw clang compilation [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 affects all configurations; but if it were broken the browser would crash often and loudly.
Attachment #8987630 - Flags: approval-mozilla-esr60?
(In reply to Tom Ritter [:tjr] from comment #6) > This commit affects all configurations; but if it were broken the browser > would crash often and loudly. The affected files are under ...win...gnu.cpp so it ought to be mingw-specific.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment on attachment 8987630 [details] Bug 1470993 - Fix reflect mingw clang compilation Makes downstream maintenance easier for Tor. Approved for ESR 60.2.
Attachment #8987630 - Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
See Also: → 1490568
See Also: → 1491856
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: