bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/10980] Please support more options available from old ld


From: jari dot aalto at cante dot net
Subject: [Bug gold/10980] Please support more options available from old ld
Date: 30 Mar 2010 16:55:52 -0000

------- Additional Comments From jari dot aalto at cante dot net  2010-03-30 
16:55 -------
Rebuilding of Debian package scratchbox2 fails, because it uses:

  Makefile:14:  -Wl,--retain-symbols-file=preload/ldexportlist

Which produces:

  make[1]: Entering directory `/srv/deb/rc/scratchbox2/scratchbox2.git/obj-32'
  make[2]: Entering directory `/srv/deb/rc/scratchbox2/scratchbox2.git/obj-32'
[SHLIB] preload/libsb2.so
  /usr/bin/ld.gold.real: --retain-symbols-file=preload/ldexportlist: unknown 
option
  /usr/bin/ld.gold.real: use the --help option for usage information
collect2: ld returned 1 exit status

The options syntax only allows:

  $ /usr/bin/ld.gold.real --help | grep retain
  -retain-symbols-file [file] keep only symbols listed in this file

Whereas GNU ld(1) manual page reads:

       --retain-symbols-file=filename
           Retain only the symbols listed in the file filename, discarding all 
others.  filename is
           simply a flat file, with one symbol name per line.  This option is 
especially useful in
           environments (such as VxWorks) where a large global symbol table is 
accumulated
           gradually, to conserve run-time memory.

SUGGESTION

Please allow form "option=value" in all cases.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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

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