https://sourceware.org/bugzilla/show_bug.cgi?id=19842

--- Comment #11 from Matt Godbolt <matt at godbolt dot org> ---
Hi H.J. Lu,

I've made a build of your binutils, supplied -Wl,-plugin-save-temps and kept
all the files generated. I will share the files with you over email.

Looking at the ltrans1.o file generated with ld, it seems the symbols are still
being marked LOCAL:

$ readelf -s hippo.ltrans1.ltrans.o | grep _ZNSt8functionIFvvEED[12]Ev
    28: 0000000000000260    33 FUNC    LOCAL  DEFAULT    1
_ZNSt8functionIFvvEED2Ev
    30: 0000000000000260    33 FUNC    LOCAL  DEFAULT    1
_ZNSt8functionIFvvEED1Ev

It seems mysterious how ld is somehow able to resolve this apparently local
symbol.

Thanks, Matt

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to