This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/78795] LTO causes undefined reference errors when linking with GMP "make check"
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Dec 2016 10:19:32 +0000
- Subject: [Bug lto/78795] LTO causes undefined reference errors when linking with GMP "make check"
- Auto-submitted: auto-generated
- References: <bug-78795-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78795
--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
You can find that directory by:
% echo "int main(){}" | g++ -x c++ - && strace nm 2>&1 | grep bfd-plugins
On my system:
% ls -l /usr/x86_64-pc-linux-gnu/binutils-bin/lib/bfd-plugins/
total 8
lrwxrwxrwx 1 root root 65 Oct 1 15:31 liblto_plugin.so.0.0.0 ->
/usr/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/liblto_plugin.so.0.0.0
lrwxrwxrwx 1 root root 28 Jun 3 2016 LLVMgold.so ->
/usr/local/lib64/LLVMgold.so