http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46559
Summary: libstdc++ link FAILs with -flto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org make -k check-target-libstdc++-v3 RUNTESTFLAGS="--target_board=unix/-flto" yields FAIL: 27_io/basic_filebuf/close/12790-1.cc (test for excess errors) WARNING: 27_io/basic_filebuf/close/12790-1.cc compilation failed to produce exec utable FAIL: 27_io/basic_filebuf/cons/2020.cc (test for excess errors) WARNING: 27_io/basic_filebuf/cons/2020.cc compilation failed to produce executab le FAIL: 27_io/basic_filebuf/open/12790-1.cc (test for excess errors) WARNING: 27_io/basic_filebuf/open/12790-1.cc compilation failed to produce execu table FAIL: 27_io/basic_filebuf/seekoff/10132-2.cc (test for excess errors) WARNING: 27_io/basic_filebuf/seekoff/10132-2.cc compilation failed to produce ex ecutable FAIL: 27_io/basic_filebuf/seekoff/12790-1.cc (test for excess errors) WARNING: 27_io/basic_filebuf/seekoff/12790-1.cc compilation failed to produce ex ecutable FAIL: 27_io/basic_filebuf/seekoff/12790-2.cc (test for excess errors) WARNING: 27_io/basic_filebuf/seekoff/12790-2.cc compilation failed to produce ex ecutable FAIL: 27_io/basic_filebuf/seekoff/12790-3.cc (test for excess errors) WARNING: 27_io/basic_filebuf/seekpos/10132-3.cc compilation failed to produce ex ecutable FAIL: 27_io/basic_filebuf/seekpos/12790-2.cc (test for excess errors) WARNING: 27_io/basic_filebuf/seekpos/12790-2.cc compilation failed to produce ex ecutable FAIL: 27_io/basic_fstream/cons/1.cc (test for excess errors) WARNING: 27_io/basic_fstream/cons/1.cc compilation failed to produce executable FAIL: 27_io/basic_ifstream/cons/2020.cc (test for excess errors) WARNING: 27_io/basic_ifstream/cons/2020.cc compilation failed to produce executa ble FAIL: 27_io/basic_ofstream/cons/2020.cc (test for excess errors) WARNING: 27_io/basic_ofstream/cons/2020.cc compilation failed to produce executa ble FAIL: ext/enc_filebuf/char/13189.cc (test for excess errors) WARNING: ext/enc_filebuf/char/13189.cc compilation failed to produce executable FAIL: ext/enc_filebuf/char/13598.cc (test for excess errors) WARNING: ext/enc_filebuf/char/13598.cc compilation failed to produce executable FAIL: ext/enc_filebuf/wchar_t/13189.cc (test for excess errors) WARNING: ext/enc_filebuf/wchar_t/13189.cc compilation failed to produce executab le all with excess errors of the form FAIL: 27_io/basic_filebuf/seekoff/12790-1.cc (test for excess errors) Excess errors: /tmp/ccXujZVx.ltrans0.ltrans.o:(.debug_info+0x1153): undefined reference to `.LLST0' /tmp/ccXujZVx.ltrans0.ltrans.o:(.debug_info+0x1169): undefined reference to `.LLST1' /tmp/ccXujZVx.ltrans0.ltrans.o:(.debug_info+0x126b): undefined reference to `.LLST2' /tmp/ccXujZVx.ltrans0.ltrans.o:(.debug_info+0x127c): undefined reference to `.LLST3' /tmp/ccXujZVx.ltrans0.ltrans.o:(.debug_info+0x129d): undefined reference to `.LLST4' ...