On 23/01/18 07:44, Florian Weimer wrote:
On 01/23/2018 08:16 AM, Tom Hughes wrote:
This seems to be breaking things. I have so's failing to link due to
this even though the man page says -zdefs doesn't affect shared
libraries.
Examples?
It will cause link failures because binutils now reports that it does
not have enough information to produce correct binaries.
This one from koschei:
https://koji.fedoraproject.org/koji/taskinfo?taskID=24388670
I think it may be correct because libdwarf reference symbols in libelf
so should presumably link against it in order to get a NEEDED entry for
it in the ELF program headers.
None the less the man page for ld (at least on F27) says:
defs
Disallows undefined symbols in object files. Undefined symbols
in shared libraries are still allowed.
which says that undefined symbols are allowed when linking a shared
library even with -zdefs.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx