I have binutils with gold with the changelog showing the entry from April 1st
this year but not newer, so it's lagging behind trunk/head.

While compiling the linux kernel 2.6.30-rc5, it complained with:

  LD      .tmp_vmlinux1                                                        
      
ld: -X: unknown option                                                         
      
ld: use the --help option for usage information                                
      
make: *** [.tmp_vmlinux1] Error 1

And really, ld --help showed no such flag but man page for gnu ld showed:

-X
--discard-locals
    Delete all temporary local symbols. (These symbols start with
system-specific local label prefixes, typically .L for ELF systems or L for
traditional a.out systems.) 

Use of this flag in linux is new and optional, but I think it should be added to
gold.

This is 64bit gnu/linux on Intel Core2, namely Gentoo ~amd64.

-- 
           Summary: gold doesn't support ld flag -X / --discard-locals
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: zeev dot tarantov at gmail dot com
                CC: bug-binutils at gnu dot org


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

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