https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64900
Bug ID: 64900 Summary: gotools don't link on Solaris 11/x86 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: ro at gcc dot gnu.org CC: cmang at google dot com Host: i?86-*-solaris2.11 Target: i?86-*-solaris2.11 Build: i?86-*-solaris2.11 Unfortunately, the fix for PR go/64738 (not linking gotools statically) caused Solaris 11/x86 bootstrap with gas/gld to fail: /vol/gcc/bin/gld-2.24: gofmt: hidden symbol `_Unwind_GetLanguageSpecificData' in /var/gcc/regression/trunk/11-gcc-gas-gld/build/./gcc/libgcc_eh.a(unwind-dw2.o) is referenced by DSO /vol/gcc/bin/gld-2.24: final link failed: Bad value collect2: error: ld returned 1 exit status make[2]: *** [gofmt] Error 1 Adding -static-libgo back in does restore it. Strangely, this is neither an issue on Solaris 10/x86 with gas/gld nor on Solaris 11/SPARC with gas/gld. Rainer