bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14249] Full path to shared object put into binary when it contai


From: ppluzhnikov at google dot com
Subject: [Bug ld/14249] Full path to shared object put into binary when it contains no SONAME
Date: Fri, 15 Jun 2012 13:48:08 +0000

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

--- Comment #3 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-06-15 
13:48:08 UTC ---
(In reply to comment #2)

> I could not find any documentation on this behaviour

You are welcome to find a place where you think this should have been
documented, and send a patch to update the documentation.

> (=putting the whole path
> into DT_NEEDED), so I can imagine others to be as astonished as I was.

As far as I can tell, this is how all ELF systems (and several non-ELF systems)
behaved since forever.

> The problem I see is that the resulting binary "libmylib.so" will in general
> only be runnable on the build machine

Sometimes (though rarely) that's exactly the desired behavior.

> (ad "add the SONAME"): Changing it's SONAME is difficult, if "libfoo.so" is a
> closed-source 3rd-party product.

But linking with -lfoo is usually not difficult, and the way it should
generally be done anyway.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]