This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]