Closed Bug 1245470 Opened 5 years ago Closed 3 years ago

mingw-w64 compiled Firefox breaks with EMET (Tor 13893)

Categories

(Core :: XPCOM, defect, P3)

x86
Windows
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox47 --- affected

People

(Reporter: gk, Assigned: gk)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [tor][tor-standalone])

Compiling Firefox with mingw-w64 is broken if one is using Microsoft's EMET (https://support.microsoft.com/en-us/kb/2458544). EMET detects SimExecFlow mitigation and closes Firefox.

This, however, does not happen if one is using --disable-optimize for compilation. It seems EMET does not like the optimized created by GCC.

There is further information available starting with https://trac.torproject.org/projects/tor/ticket/13893#comment:16.
Might actually be as simple as doing the same as bug 1233208 for AvailableMemoryTracker, in case this is the right fix?
Flags: needinfo?(jacek)
I don't think that mingw is considered an important compiler target for the Mozilla project: we're focusing much of our Windows effort on clang-cl as a free alternative to MSVC. I'm happy to leave this bug open if you're planning on fixing it, otherwise I suggest we close INCOMPLETE.
(In reply to Benjamin Smedberg  [:bsmedberg] from comment #2)
> I don't think that mingw is considered an important compiler target for the
> Mozilla project: we're focusing much of our Windows effort on clang-cl as a
> free alternative to MSVC. I'm happy to leave this bug open if you're
> planning on fixing it, otherwise I suggest we close INCOMPLETE.

Yes, we plan to work on it.
Flags: needinfo?(jacek)
Priority: -- → P3
Summary: mingw-w64 compiled Firefox breaks with EMET → mingw-w64 compiled Firefox breaks with EMET (Tor 13893)
Blocks: meta_tor
Whiteboard: [tor] → [tor][tor-standalone]
Assignee: nobody → gk
I think we can close the Mozilla side of this issue (i.e. this ticket). bug 1201205 helped a lot and the remaining things go away if one switches to GCC 6. So this is strictly speaking WORKSFORME from a Mozilla PoV.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(gk)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.