Closed
Bug 1946006
Opened 7 days ago
Closed 7 hours ago
C/C++ source files compiled through Rust don't get LTO/PGO flags
Categories
(Firefox Build System :: General, task)
Firefox Build System
General
Tracking
(firefox137 fixed)
RESOLVED
FIXED
137 Branch
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
No description provided.
Comment 1•7 days ago
|
||
From my own DMs with :glandium:
well, cc 1.2.9 botched CFLAGS handling...
or rather, they added something that breaks our builds
funnily enough, it's stuff that should have been there in the first place
For reference, the cc
1.2.9 release notes can be found at the cc-v1.2.9
release page.
This appears to be directed at cc-rs`#1363.
Summary: C/C++ source files compiled through rust don't get LTO/PGO flags → C/C++ source files compiled through Rust don't get LTO/PGO flags
Assignee | ||
Comment 2•7 days ago
|
||
This depends on bug 1945694 for all the relevant flags to make it to the
compiler, but works even before that lands, which is fortunate because
landing bug 1945694 fail without this change.
Updated•7 days ago
|
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/d3334fc93af8
Pass PGO and LTO flags when compiling C/C++ sources from rust. r=firefox-build-system-reviewers,sergesanspaille
Status: NEW → RESOLVED
Closed: 7 hours ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•