On 23/01/18 08:37, Stephan Bergmann wrote:
On 23.01.2018 09:28, Tom Hughes wrote:
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.

I think the man page talks about shared libraries among the inputs to ld there, not whether ld is generating a shared library as output.

Looks like it has changed in rawhide as well:

    defs
        Report unresolved symbol references from regular object files.
        This is done even if the linker is creating a non-symbolic
        shared library.  This option is the inverse of -z undefs.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to