https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- > It will be definitely caused by my g:c8429c2aba80f845939ffa6b2cfe8a0be1b50078. [...] > So is the reason usage of ld.gold? Is the default linker fine? No, ld.gold doesn't work on Solaris, so this is plain gld/ld.bfd 2.34. The default linker is Solaris ld, which doesn't support the LTO plugin. It is fine indeed, though.