[Bug lto/48538] GCC build fails with -flto in BOOT_CFLAGS
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 10 11:52:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48538
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-10 11:52:02 UTC ---
(In reply to comment #2)
> Ok. In the documentation it said that was equivalent to -flto in BOOT_CFLAGS,
> that's why I used it.
> Now I've checked bootstrap-lto.mk and looks like it disables lto when doing a
> profiled bootstrap. Is it right? I wonder what gives better performance: lto or
> profiled-driven optimizations...
It disables LTO during the profile instrumented stage to speed up the
compile of that. The final executables are still built with profile
feedback and LTO.
More information about the Gcc-bugs
mailing list