http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-28 14:45:11 UTC --- So, how are the group signature symbols supposed to be emitted on SPARC/Solaris? A dummy symbol of that name somewhere in the section? Can it be local, or must it be global symbol? Would something like: --- gcc/dwarf2out.c 2011-07-27 23:25:36.000000000 +0200 +++ gcc/dwarf2out.c 2011-07-28 16:43:29.181746188 +0200 @@ -20872,6 +20872,7 @@ output_macinfo (void) DEBUG_MACRO_SECTION_LABEL, ref->lineno); ASM_OUTPUT_LABEL (asm_out_file, label); + ASM_OUTPUT_LABEL (asm_out_file, IDENTIFIER_POINTER (comdat_key)); ref->code = 0; free (CONST_CAST (char *, ref->info)); ref->info = NULL; fix it? Of course I'd prefer if this was limited to targets where the assembler isn't capable of handling it correctly...