This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/41691] -flto leads to bootstrap failure
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2009 09:42:44 -0000
- Subject: [Bug bootstrap/41691] -flto leads to bootstrap failure
- References: <bug-41691-15353@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-13 09:42 -------
Well, you obviously would need a host compiler with LTO enabled:
cc1: error: LTO support has not been enabled in this configuration
or better use BOOT_CFLAGS and TARGET_CFLAGS, not CFLAGS. Note you also
need to adjust BOOT_LDFLAGS and TARGET_LDFLAGS. And note that bootstrap
with LTO is currently broken, see for example PR41598.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41691