public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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

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).