public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/46492] Several C++ LTO testcases fail to link on IRIX 6.5
2010-11-15 22:59 [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5 ro at gcc dot gnu.org
@ 2010-11-15 22:47 ` ro at gcc dot gnu.org
2010-11-15 22:49 ` ro at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2010-11-15 22:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46492
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2010-11-15 22:44:58 UTC ---
Created attachment 22410
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22410
input object file
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/46492] Several C++ LTO testcases fail to link on IRIX 6.5
2010-11-15 22:59 [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5 ro at gcc dot gnu.org
2010-11-15 22:47 ` [Bug lto/46492] " ro at gcc dot gnu.org
@ 2010-11-15 22:49 ` ro at gcc dot gnu.org
2010-11-15 23:03 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2010-11-15 22:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46492
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2010-11-15 22:45:46 UTC ---
Created attachment 22411
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22411
wrong lto1 assembler output
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5
@ 2010-11-15 22:59 ro at gcc dot gnu.org
2010-11-15 22:47 ` [Bug lto/46492] " ro at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2010-11-15 22:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46492
Summary: Several C++ LTO testcases fail to link on IRIX 6.5
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: link-failure, lto
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ro@gcc.gnu.org
Host: mips-sgi-irix6.5
Target: mips-sgi-irix6.5
Build: mips-sgi-irix6.5
Several C++ testcases fail to link on IRIX 6.5 with LTO, e.g.
FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o link, -O0
-flto -flto-partition=none
UNRESOLVED: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute
-O0 -flto -flto-partition=none
ld32: ERROR 33 : Unresolved data symbol ".LDFCM0" -- 1st referenced by
/var/tmp//cc5OGg5s.lto.o.
Use linker option -v to see when and which objects, archives and dsos are
loaded.
ld32: ERROR 33 : Unresolved data symbol ".LDFCM1" -- 1st referenced by
/var/tmp//cc5OGg5s.lto.o.
Use linker option -v to see when and which objects, archives and dsos are
loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
It turned out that those missing symbols are created by lto1: this invocation
reproduces the problem:
$ lto1 -quiet -mabi=n32 -O0 -flto-partition=none cp_lto_20081109_0.o -o
cp_lto_20081109_0.s
It turns out that there are references to .LDFCM[01], but only
.LDFCM[01].124[45]
are defined.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/46492] Several C++ LTO testcases fail to link on IRIX 6.5
2010-11-15 22:59 [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5 ro at gcc dot gnu.org
2010-11-15 22:47 ` [Bug lto/46492] " ro at gcc dot gnu.org
2010-11-15 22:49 ` ro at gcc dot gnu.org
@ 2010-11-15 23:03 ` rguenth at gcc dot gnu.org
2011-01-08 20:45 ` hubicka at gcc dot gnu.org
2011-01-10 18:40 ` ro at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 23:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46492
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 22:57:48 UTC ---
.LDFCM[01].124[45]
are "localized" symbols. If references to the original symbols remain it
means that those are not properly connected.
Btw, I remember seeing similar issues when testing libstdc++ on x86_64-linux
with -flto.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/46492] Several C++ LTO testcases fail to link on IRIX 6.5
2010-11-15 22:59 [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5 ro at gcc dot gnu.org
` (2 preceding siblings ...)
2010-11-15 23:03 ` rguenth at gcc dot gnu.org
@ 2011-01-08 20:45 ` hubicka at gcc dot gnu.org
2011-01-10 18:40 ` ro at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-08 20:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46492
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011.01.08 20:40:48
Ever Confirmed|0 |1
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-08 20:40:48 UTC ---
Is this fixed with http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00081.html
(already comitted)?
It seems like the same issue.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/46492] Several C++ LTO testcases fail to link on IRIX 6.5
2010-11-15 22:59 [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5 ro at gcc dot gnu.org
` (3 preceding siblings ...)
2011-01-08 20:45 ` hubicka at gcc dot gnu.org
@ 2011-01-10 18:40 ` ro at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2011-01-10 18:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46492
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> 2011-01-10 18:36:30 UTC ---
Yes, the failure is gone.
Thanks.
Rainer
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-01-10 18:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 22:59 [Bug lto/46492] New: Several C++ LTO testcases fail to link on IRIX 6.5 ro at gcc dot gnu.org
2010-11-15 22:47 ` [Bug lto/46492] " ro at gcc dot gnu.org
2010-11-15 22:49 ` ro at gcc dot gnu.org
2010-11-15 23:03 ` rguenth at gcc dot gnu.org
2011-01-08 20:45 ` hubicka at gcc dot gnu.org
2011-01-10 18:40 ` ro at gcc dot gnu.org
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).