[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/10145] New: gold doesn't support ld flag -X / --discard-locals

From: zeev dot tarantov at gmail dot com
Subject: [Bug gold/10145] New: gold doesn't support ld flag -X / --discard-locals
Date: 11 May 2009 15:44:28 -0000

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:

    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

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


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]