<div dir="ltr">Thanks all, very useful information.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 7, 2018 at 7:45 PM, Steve Langasek <span dir="ltr"><<a href="mailto:steve.langasek@ubuntu.com" target="_blank">steve.langasek@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andreas,<br>
<br>
Small addendum to Dimitri's comments:<br>
<span class=""><br>
On Thu, Jun 07, 2018 at 02:45:12PM -0300, Andreas Hasenack wrote:<br>
<br>
> does anybody recall why Ubuntu has -Wl,-Bsymbolic-functions in<br>
> dpkg-buildflags --get LDFLAGS but not Debian? It seems to be the case for<br>
> about 10 years now, according to dpkg's changelog.<br>
<br>
> I came across this change because of a delta we have been carrying in the<br>
> autofs package for fix segfaults on startup and other issues:<br>
<br>
> <a href="https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1470687" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>ubuntu/+source/autofs/+bug/<wbr>1470687</a>: Not working<br>
> properly with compile options "-symbolic-functions"<br>
> <a href="https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1472115" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>ubuntu/+source/autofs/+bug/<wbr>1472115</a>: autofs start<br>
> fails: segfault at 0 ip ...<br>
<br>
> d/rules has had a trick to drop -Bsymbolic-functions from LDFLAGS at build<br>
> time (hello sed), but it still leaks through when building the lookup_ldap<br>
> module via $(krb5-config --libs), hence the current<br>
> d/p/fix-lookup-ldap-crash.<wbr>patch patch we have been carrying.<br>
<br>
</span>This leaking of linker flags is also a bug in krb5-config.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Steve Langasek                   Give me a lever long enough and a Free OS<br>
Debian Developer                   to set it on, and I can move the world.<br>
Ubuntu Developer                                   <a href="https://www.debian.org/" rel="noreferrer" target="_blank">https://www.debian.org/</a><br>
<a href="mailto:slangasek@ubuntu.com">slangasek@ubuntu.com</a>                                     <a href="mailto:vorlon@debian.org">vorlon@debian.org</a><br>
</font></span><br>-- <br>
ubuntu-devel mailing list<br>
<a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/ubuntu-devel</a><br>
<br></blockquote></div><br></div>