With gold built from a recent SVN (GNU gold (GNU Binutils 2.20.51.20091220) 1.9)
a Linux 2.6.33-rc1 kernel 

"make allyesconfig" fails with 

gold: fs/built-in.o:(.debug_info+0x181cb5): error: undefined reference to 
'__pcpu_scope_xfsstats'
gold: fs/built-in.o:(.debug_info+0x181ce1): error: undefined reference to 
'__pcpu_unique_xfsstats'

These are magic symbols used for CPU data, so it's probably some trick
that gold doesn't like. 

An older gold from a few months  ago failed in the same way.
Standard ld works.

Sorry no small test case, but can be reproduced by fetching 2.6.33-rc1
from kernel.org and building with make allyesconfig ; make

-- 
           Summary: gold doesn't build Linux kernel 2.6.33-rc1 allyesconfig
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: andi-bz at firstfloor dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

Reply via email to