Closed
Bug 1126662
Opened 10 years ago
Closed 10 years ago
investigate using /Gw in our windows builds
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 931687
People
(Reporter: froydnj, Unassigned)
References
Details
Bruce Dawson had a post about how compilers (mostly MSVC) duplicate const data across files, resulting in executable bloat:
https://randomascii.wordpress.com/2014/06/26/please-calculate-this-circles-circumference/
He also filed a chromium issue about what the situation looked like in Chromium:
https://code.google.com/p/chromium/issues/detail?id=441988
Using MSVC's /Gw compiler switch (effectively -fdata-sections for MSVC if I understand correctly), he wound up saving ~600K across all of Chromium's major DLLs.
I don't know if /Gw would help us because we compile with LTO and Chromium does not. But it's at least worth investigating.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•