https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84017
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I can't think of how the self-test failure could be related, unless it just results in miscompiled stage2 or stage3 compiler. Anyway, .gnu.linkonce* sections are used when the assembler/linker don't support comdat, when they do, we instead use comdat. If the gas/ld combo on Solaris 10 doesn't support either comdat, or properly .gnu.linkonce, then it probably can't claim it SUPPORTS_ONE_ONLY and then pretty much doesn't support C++ at a usable level. Or what exact part of .gnu.linkonce this combo doesn't support? In the i?86-*-solaris* target hook it could override any of the generic hooks that rely on it. Or just declare gas/ld combo unsupported on Solaris 10.