[llvm-bugs] [Bug 26785] is_equal failure with GCC shared libraries

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 1 05:57:25 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26785

Rian Quinn <rianquinn at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #11 from Rian Quinn <rianquinn at gmail.com> ---
I fixed the issue, and it was in the ELF loader. The problem was with the use
of STB_WEAK. GCC is marking each exception as WEAK, and the EFL loader was
using the local address instead of globally identifying a _single_ address to
use for all references of the same name. Switching to a global search for any
symbol that is marked as weak fixed the problem. 

Thanks a ton for the help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160301/b2a4f2f7/attachment.html>


More information about the llvm-bugs mailing list