https://sourceware.org/bugzilla/show_bug.cgi?id=24912

            Bug ID: 24912
           Summary: g++.dg/lto/pr90990 FAILs with gld 2.32.51
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: marxin.liska at gmail dot com
  Target Milestone: ---

Copy from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91376:

've just tried Solaris/SPARC and x86 bootstraps with gas and gld from binutils
master.  Doing so revealed a failure not present when using gas/gld 2.32:

+FAIL: g++.dg/lto/pr90990 cp_lto_pr90990_0.o-cp_lto_pr90990_0.o link, -O0 -flto
-flto-partition=none -fuse-linker-plugin
+FAIL: g++.dg/lto/pr90990 cp_lto_pr90990_0.o-cp_lto_pr90990_0.o link, -O0 -flto
-fuse-linker-plugin -fno-fat-lto-objects 
+FAIL: g++.dg/lto/pr90990 cp_lto_pr90990_0.o-cp_lto_pr90990_0.o link, -O2 -flto
-flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
+FAIL: g++.dg/lto/pr90990 cp_lto_pr90990_0.o-cp_lto_pr90990_0.o link, -O2 -flto
-fuse-linker-plugin

The tests FAIL with

/vol/gcc/bin/gld-2.32.51: g++-dg-lto-pr90990-01.exe.lto.o: plugin needed to
handle lto object

Just replacing gld-2.32.51 with gld-2.32 makes the failure go away.  I don't
believe that this is a traget issue, though, because on gcc-testresults there
are reports of the same failure on Linux/ia64, Linux/powerpc64le, and PRU.

It would be good to have this fixed before binutils 2.33 hit the streets.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to