On 04/12/2019 12:58, Paulo César Pereira de Andrade wrote:
Idea about @subject started with ongoing customer support case that originated https://bugzilla.redhat.com/show_bug.cgi?id=1778236 [Problems linking to zlib corrected if zlib is linked with -Bsymbolic-functions] when doing some research, it appears Ubuntu has it by default for some time. This is currently only a suggestion and/or request for comments. Some extra detail in https://bugzilla.redhat.com/show_bug.cgi?id=1778234 [Request For Comments: -Bsymbolic-functions in LDFLAGS by default] Basically, there would be a few issues, most times in broken code, and the valid cases could be worked around removing -Bsymbolic-functions. The biggest advantages are far less relocations, for example, that should mean faster load time, and avoids several issues with symbols being clobbered by symbols from another library.
If I understand correctly then it will also mean that LD_PRELOAD will not work for any call made from the library to itself, but would still work for calls made from other libraries. Tom -- Tom Hughes (tom@xxxxxxxxxx) http://compton.nu/ _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx