[Bug c/68626] Compiling with "-flto -fuse-linker-plugin" gives libtool error

2015-11-30 Thread john.frankish at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68626 --- Comment #2 from john.frankish at outlook dot com --- I believe /usr/local/lib/bfd-plugins/liblto_plugin.so (symlink to /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/liblto_plugin.so) is the correct location?

[Bug c/68626] Compiling with "-flto -fuse-linker-plugin" gives libtool error

2015-11-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68626 --- Comment #1 from Andrew Pinski --- > This can be fixed by using NM="gcc-nm", but as binutils was compiled with lto > enabled, it shouldn't be required? Do you have the linker plugin in the correct location for ld/nm to find it?