[Bug lto/70345] Installing liblto_plugin under $LIBDIR/bfd-plugins

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 7 10:45:00 GMT 2016


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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Дилян Палаузов from comment #3)
> Am I correct if I say, that the gcc plugin is backward compatible: the
> plugin from the newest gcc can be used with any gcc but not vice versa?

Right now the plugin from any gcc can be used with any gcc.
But this might change in the future.

> How do nm and ar determine, if a plugin shall be used, for instance when `nm
> test.o` is called?

They get tried in alphabetic order. The first plugin that claims the object in
question is used.
Mixed gcc/llvm archives are also supported.


More information about the Gcc-bugs mailing list