http://sourceware.org/bugzilla/show_bug.cgi?id=12248

           Summary: BFD linker plugin failed to resolve reference to
                    archive
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: hjl.to...@gmail.com
                CC: dave.korn.cyg...@gmail.com


Created attachment 5131
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5131
A testcase

[...@gnu-35 pr12245]$ make
/export/gnu/import/svn/gcc-test-spec/usr/bin/gcc -m32 -O3 -fwhole-program
-flto=jobserver -fuse-linker-plugin   -c -o x.o x.c
/export/gnu/import/svn/gcc-test-spec/usr/bin/gcc -m32 -O3 -fwhole-program
-flto=jobserver -fuse-linker-plugin   -c -o y.o y.c
/export/gnu/import/svn/gcc-test-spec/usr/bin/gcc -m32 -o foo -O3
-fwhole-program -flto=jobserver -fuse-linker-plugin x.o y.o
/tmp/ccVUrOVB.ltrans0.ltrans.o: In function `main':
ccVUrOVB.ltrans0.o:(.text+0x2b): undefined reference to `__udivdi3'
collect2: ld returned 1 exit status
make: *** [foo] Error 1
[...@gnu-35 pr12245]$

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to