[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.
- [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto, bero at lindev dot ch, 2018/04/21
- [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto, bero at lindev dot ch, 2018/04/21
- [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto, ccoutant at gmail dot com, 2018/04/21
- [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto, zbyszek at in dot waw.pl, 2018/04/23
- [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto, cvs-commit at gcc dot gnu.org, 2018/04/24
- [Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto,
ccoutant at gmail dot com <=