Em qua., 4 de dez. de 2019 às 10:16, Tom Hughes <t...@compton.nu> escreveu:
>
> 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.

  Not fool proof checked, but I believe this is what would happen. Usually
one wants to only LD_PRELOAD to replace some glibc symbol, for some kind
of debug, but any library where there valid usages of LD_PRELOAD should
not be linked with -Bdynamic-functions.

> Tom
>
> --
> Tom Hughes (t...@compton.nu)
> http://compton.nu/

Thanks,
Paulo
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to