This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48538] GCC build fails with -flto in BOOT_CFLAGS
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 Apr 2011 10:51:16 +0000
- Subject: [Bug lto/48538] GCC build fails with -flto in BOOT_CFLAGS
- Auto-submitted: auto-generated
- References: <bug-48538-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48538
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-10 10:51:05 UTC ---
You should not merely use -flto in BOOT_CFLAGS, that will fail anyway. Instead
use --with-build-config=bootstrap-lto.