Firefox built with GCC 10 snapshots crashes due to Rust ABi compatibility bug
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: jh, Assigned: emilio, NeedInfo)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
I build Firefox 71 release with GCC 10
Actual results:
It does crash for same reason as described in https://bugzilla.mozilla.org/show_bug.cgi?id=1600735
That bug was closed by updating fuzzer from gcc7 to gcc8, but that only hides the actual problem. As co-author of x86-64 PS ABI, I could confirm that the sign extensions was not intended to be required.
I wonder if this can be worked around by changing calling interface of this function until Rust compiler is updated?
Expected results:
It should have worked.
Hi, Jan Hubicka,
Thanks for your contribution!
I don´t have the technical knowledge to confirm this issue but I'll add product and component so the team can make some research on it. Hopefully, someone with a more deep understanding of this matter can help.
Regards,
Assignee | ||
Comment 2•6 years ago
|
||
Yes... I have a WIP patch for this at https://reviews.llvm.org/D71178... We could workaround it taking a bigger type or something I guess, yeah.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
All the gory details in https://bugzilla.mozilla.org/show_bug.cgi?id=1600735 and
related LLVM / GCC bugs. Avoid the issue by forcing the relevant enum to be
32-bit wide, so as to not trigger the LLVM bug.
Assignee | ||
Comment 4•6 years ago
|
||
Let me know if you want this uplifted? It should be trivial to do so.
Comment 6•6 years ago
|
||
bugherder |
Description
•