https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84995
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Дилян Палаузов from comment #7) > Why doesn’t GCC “make install” put the linker plugin under > $libdir/bfd-plugins and how are program ./configure’s supposed to be written > in a way, that LTO works with both Clang and GCC? It's a location which is automatically used by nm,ar,ranlib,ld when searching for plugins. Should work automatically when using clang, then object files will use proper llvm LTO plugin.