[Bug c/86080] Using FLTO ends up in huge package size (jansson zeromq zlib)
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 7 10:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86080
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
The packages contain static archives. In that case those, when compiled with
-flto, will contain LTO bytecode and not object code.
You want to make sure to use -fno-lto on static archive builds.
More information about the Gcc-bugs
mailing list