bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24576] Feature request: error out when passed the same linker sc


From: amodra at gmail dot com
Subject: [Bug ld/24576] Feature request: error out when passed the same linker script with -T and as an object file
Date: Wed, 22 May 2019 23:32:12 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24576

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2019-05-22
                 CC|                            |amodra at gmail dot com
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1

--- Comment #8 from Alan Modra <amodra at gmail dot com> ---
This patch results in testsuite failures such as:
/home/alan/build/gas/all/ld/tmpdir/ld/collect-ld: error: linker script file
'/usr/local/lib64/libgcc_s.so' appears multiple times
collect2: error: ld returned 1 exit status
FAIL: bootstrap

There isn't anything wrong with specifying a shared library more than once on
the command line, and sometimes like the example above, the library is
installed as a script that loads both a static archive and the actual shared
library.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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