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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to