https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78795

--- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Vincent Lefèvre from comment #8)
> (In reply to Markus Trippelsdorf from comment #7)
> > And no, it is not a libtool issue. You can use your systems binutils just
> > fine, just add a symlink to lib/bfd-plugins/.
> 
> I'm using Debian packages. So, shouldn't this be the goal of the Debian
> packages? Also, I don't see how this can be handled with several GCC
> versions installed, as each GCC version has its own liblto_plugin.so.
> 
> If one compiles with "-flto", then everything should be automatic to use the
> right plugin as needed, without needing the end user to specify other
> "configure" environment variables.

Currently all liblto_plugin.so from all GCC versions can be used
interchangeably.
You can also add a symlink to LLVMgold.so in the same directory and binutils
will load the correct plugin automatically.

Reply via email to