public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/41691] New: -flto leads to bootstrap failure
@ 2009-10-13 2:41 linuxl4 at sohu dot com
2009-10-13 2:42 ` [Bug bootstrap/41691] " linuxl4 at sohu dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: linuxl4 at sohu dot com @ 2009-10-13 2:41 UTC (permalink / raw)
To: gcc-bugs
trunk r152694
CFLAGS="-march=atom -mfpmath=sse -mveclibabi=svml -pipe -O3 -flto"
When configure in libgcc,
checking for x86_64-unknown-linux-gnu-gcc... /home/xhs/build/gcc/./gcc/xgcc
-B/home/xhs/build/gcc/./gcc/ -B/gcc-4.5/gcc/x86_64-unknown-linux-gnu/bin/
-B/gcc-4.5/gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/gcc-4.5/gcc/x86_64-unknown-linux-gnu/include -isystem
/gcc-4.5/gcc/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/home/xhs/build/gcc/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
--
Summary: -flto leads to bootstrap failure
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: linuxl4 at sohu dot com
GCC build triplet: x86_64-pc-linux
GCC host triplet: x86_64-pc-linux
GCC target triplet: x86_64-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41691
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/41691] -flto leads to bootstrap failure
2009-10-13 2:41 [Bug bootstrap/41691] New: -flto leads to bootstrap failure linuxl4 at sohu dot com
@ 2009-10-13 2:42 ` linuxl4 at sohu dot com
2009-10-13 9:43 ` rguenth at gcc dot gnu dot org
2009-10-13 11:27 ` linuxl4 at sohu dot com
2 siblings, 0 replies; 4+ messages in thread
From: linuxl4 at sohu dot com @ 2009-10-13 2:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from linuxl4 at sohu dot com 2009-10-13 02:42 -------
Created an attachment (id=18793)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18793&action=view)
config.log file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41691
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/41691] -flto leads to bootstrap failure
2009-10-13 2:41 [Bug bootstrap/41691] New: -flto leads to bootstrap failure linuxl4 at sohu dot com
2009-10-13 2:42 ` [Bug bootstrap/41691] " linuxl4 at sohu dot com
@ 2009-10-13 9:43 ` rguenth at gcc dot gnu dot org
2009-10-13 11:27 ` linuxl4 at sohu dot com
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-13 9:43 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/41691] -flto leads to bootstrap failure
2009-10-13 2:41 [Bug bootstrap/41691] New: -flto leads to bootstrap failure linuxl4 at sohu dot com
2009-10-13 2:42 ` [Bug bootstrap/41691] " linuxl4 at sohu dot com
2009-10-13 9:43 ` rguenth at gcc dot gnu dot org
@ 2009-10-13 11:27 ` linuxl4 at sohu dot com
2 siblings, 0 replies; 4+ messages in thread
From: linuxl4 at sohu dot com @ 2009-10-13 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from linuxl4 at sohu dot com 2009-10-13 11:27 -------
thanks for your message above.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41691
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-13 11:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-13 2:41 [Bug bootstrap/41691] New: -flto leads to bootstrap failure linuxl4 at sohu dot com
2009-10-13 2:42 ` [Bug bootstrap/41691] " linuxl4 at sohu dot com
2009-10-13 9:43 ` rguenth at gcc dot gnu dot org
2009-10-13 11:27 ` linuxl4 at sohu dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).