<div dir="ltr">HI Michal,<div><br></div><div>Note that these messages are coming from attempts to strip object files, not executables. As far as I know, they aren't actually errors; the object files still get stripped (and sh_link on the addrsig section gets reset to 0, which the linker treats as an indication to not try to read the section, which means that a stripped object file with this section won't cause any problems in practice). If the messages are a problem for you, you will most likely want to change Gentoo's packaging scripts to pass -fno-addrsig to the compiler.</div><div><br></div><div>Peter</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 11:56 AM Michał Górny via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Clang currently defaults to emitting address significance table<br>
(-faddrsig) on majority of the systems. Of those systems, at least<br>
Gentoo still defaults to using GNU binutils most of the time.<br>
As a result, strip(1) now outputs verbose errors on clang-created<br>
executables, e.g.:<br>
<br>
armv7a-unknown-linux-gnueabihf-strip: st5EpxDK: failed to find link<br>
section for section 6<br>
armv7a-unknown-linux-gnueabihf-strip: st5EpxDK: failed to find link<br>
section for section 6<br>
<br>
We (Gentoo) have received user reports about this [1]. We have passed<br>
this on to GNU binutils [2] but it seems that they not only aren't<br>
interested in providing any support for this section but actively<br>
indicate that the proposed standard is unlikely to be accepted into<br>
generic-abi.<br>
<br>
Could you advise on how to proceed? I'm thinking of disabling it<br>
by default but I would prefer not to add unnecessary distro<br>
customization if possible.<br>
<br>
[1]:<a href="https://bugs.gentoo.org/667854" rel="noreferrer" target="_blank">https://bugs.gentoo.org/667854</a><br>
[2]:<a href="https://sourceware.org/bugzilla/show_bug.cgi?id=23817" rel="noreferrer" target="_blank">https://sourceware.org/bugzilla/show_bug.cgi?id=23817</a><br>
<br>
-- <br>
Best regards,<br>
Michał Górny<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_6780565487379730639gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- <div>Peter</div></div></div>