-Wl,-Bsymbolic-functions in Ubuntu but not debian/ why?
Thanks all, very useful information.
On Thu, Jun 7, 2018 at 7:45 PM, Steve Langasek <steve.langasek at ubuntu.com>
> Hi Andreas,
> Small addendum to Dimitri's comments:
> On Thu, Jun 07, 2018 at 02:45:12PM -0300, Andreas Hasenack wrote:
> > does anybody recall why Ubuntu has -Wl,-Bsymbolic-functions in
> > dpkg-buildflags --get LDFLAGS but not Debian? It seems to be the case for
> > about 10 years now, according to dpkg's changelog.
> > I came across this change because of a delta we have been carrying in the
> > autofs package for fix segfaults on startup and other issues:
> > https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1470687: Not
> > properly with compile options "-symbolic-functions"
> > https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1472115: autofs
> > fails: segfault at 0 ip ...
> > d/rules has had a trick to drop -Bsymbolic-functions from LDFLAGS at
> > time (hello sed), but it still leaks through when building the
> > module via $(krb5-config --libs), hence the current
> > d/p/fix-lookup-ldap-crash.patch patch we have been carrying.
> This leaking of linker flags is also a bug in krb5-config.
> Steve Langasek Give me a lever long enough and a Free OS
> Debian Developer to set it on, and I can move the world.
> Ubuntu Developer https://www.debian.org/
> slangasek at ubuntu.com vorlon at debian.org
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
-------------- next part --------------
An HTML attachment was scrubbed...