bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26590] --as-needed doesn't work correctly


From: hjl.tools at gmail dot com
Subject: [Bug ld/26590] --as-needed doesn't work correctly
Date: Wed, 09 Sep 2020 13:47:59 +0000

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Both gold and lld generate output. But

[hjl@gnu-cfl-2 pr26530a]$ ./x
1
[hjl@gnu-cfl-2 pr26530a]$ LD_BIND_NOW=1 ./x
./x: symbol lookup error: ./liblto-18c.so: undefined symbol: f1
[hjl@gnu-cfl-2 pr26530a]$ 

I think the inputs are invalid and I prefer the current ld behavior.

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