bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19842] LTO build fails to write call address for weak symbol r


From: matt at godbolt dot org
Subject: [Bug gold/19842] LTO build fails to write call address for weak symbol reference
Date: Mon, 21 Mar 2016 16:35:07 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]