bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/27441] Small inconsistency in between gold and bfd


From: amodra at gmail dot com
Subject: [Bug gold/27441] Small inconsistency in between gold and bfd
Date: Fri, 19 Feb 2021 23:06:16 +0000

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

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
As-needed shared libraries are supposed to behave like archives in the sense
that they should only be seen to be needed if they satisfy a non-weak undefined
symbol reference *at the point they are loaded*.  Since you are loading
-lpthread before the object file with the reference to "close", -lpthread
should not be marked as needed.  ld.bfd is correct here.

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