Firefox 148.0 does not compile with gcc 15.2.1
Categories
(Core :: MFBT, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: bojan, Assigned: arai)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Mobile Safari/537.36
Steps to reproduce:
Attempted to compile Firefox 148.0 with gcc 15.2.1 on Fedora 43, in copr. See:
https://copr.fedorainfracloud.org/coprs/bojan/FF/build/10151262/
https://src.fedoraproject.org/rpms/firefox/pull-request/101
A patch to include dstdint header was required in select files.
Actual results:
The builds would error with undefined types.
Expected results:
Previous stable version of Firefox, 147.0.4 didn't have the same issue.
The patch to fix compilation is here:
Comment 1•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Reporter | ||
Comment 2•5 months ago
|
||
Yeah, definitely not about Android. Fedora is a general Linux distribution.
| Assignee | ||
Comment 3•5 months ago
|
||
Thank you for your bug report.
toolkit/crashreporter/breakpad-client/linux/handler/minidump_descriptor.h is fixed by bug 2012200
TestIntegerRange.cpp and TestSmallPointerArray.cpp are fixed by bug 2008694.
TestArray.cpp, TestNotNull.cpp, and TestSPSCQueue.cpp are not fixed.
For the last three files, can you submit your patch by following https://firefox-source-docs.mozilla.org/contributing/how_to_submit_a_patch.html ?
That way the patch is properly attributed to you (the author information in the git commit).
| Reporter | ||
Comment 4•5 months ago
|
||
Hi Tooru,
Thanks for having a look. I created a PR on GitHub: https://github.com/mozilla-firefox/firefox/pull/71
Let me know if you need anything else,
Bojan
| Reporter | ||
Comment 5•5 months ago
|
||
BTW, I do not care about attribution. This is a trivial compilation fix, so just wanted to let you know.
| Assignee | ||
Comment 6•5 months ago
|
||
Thank you for your patch.
Then, I'm really sorry but GitHub PR support is still under experimentation, and the repository doesn't yet accept PRs from everyone.
The contribution document explains how to submit the patch to Phabricator to get reviewed.
If you can submit the patch there, it will be great.
If it's too troublesome for you, don't worry, we'll handle it.
| Reporter | ||
Comment 7•4 months ago
|
||
Feel free to handle it Tooru. I haven't done a contribution via phabricator before, so this is a bridge too far for this simple compilation fix. 😁
| Assignee | ||
Comment 8•4 months ago
|
||
Updated•4 months ago
|
Comment 10•4 months ago
|
||
| bugherder | ||
Updated•4 months ago
|
Description
•