bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/16504] gold: internal error in override_version, at resolv


From: ccoutant at gmail dot com
Subject: [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto
Date: Tue, 24 Apr 2018 21:04:19 +0000

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

Cary Coutant <ccoutant at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Cary Coutant <ccoutant at gmail dot com> ---
Fixed on master branch.

The provided test case leaves me with a nervous feeling that
neither IFUNCs nor .symver directives are a good idea when
using LTO. For .symver at least, the compiler doesn't see the
real symbol name (it's just an asm pass-thru), so it could be
missing some important linkage information. For example, GCC
doesn't even tell the linker about the reference to
address@hidden when reading the IR, which could
affect the correctness of its optimizations.

It could theoretically figure out how IFUNCs work by
looking at the resolve function, but I'm not sure it does.

-- 
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]