This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/51280] ICE when lto1 does not have -fgnu-tm and object file uses TM
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Jan 2012 13:20:56 +0000
- Subject: [Bug lto/51280] ICE when lto1 does not have -fgnu-tm and object file uses TM
- Auto-submitted: auto-generated
- References: <bug-51280-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51280
--- Comment #5 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2012-01-16 13:20:56 UTC ---
Ok, reproduced as below. -flto was missing from the link line.
houston:/build/t2/gcc$ ./xgcc -B./ -c -fgnu-tm -flto -c a.c -o
a.ohouston:/build/t2/gcc$ ./xgcc -B./ a.o -flto -L
../x86_64-unknown-linux-gnu/libitm/.libs/ -litm
lto1: internal compiler error: in streamer_get_builtin_tree, at
tree-streamer-in.c:1077
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: ./xgcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
houston:/build/t2/gcc$