This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/68626] Compiling with "-flto -fuse-linker-plugin" gives libtool error
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Dec 2015 05:27:03 +0000
- Subject: [Bug lto/68626] Compiling with "-flto -fuse-linker-plugin" gives libtool error
- Auto-submitted: auto-generated
- References: <bug-68626-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68626
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |lto
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to john.frankish from comment #2)
> 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?
Can you do a quick test to see if nm/ld finds that?
That is compile the following with -c -flto -fuse-linker-plugin:
int f(void) { return 0; }
--- CUT ---
and run nm on the resulting object file?