https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870
--- Comment #21 from boger at us dot ibm.com --- Created attachment 36142 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36142&action=edit Configure gold with split stack based on binutils version This is an updated version of the previous patch, simplifying the test done in gcc/configure.ac. Instead of trying to link a program this just checks the binutils version number on the ld.gold --version output. The configure check in libgo will fail if the gold linker doesn't have split stack support but only on pp64le. On ppc64 the version check should be sufficient to make sure the right gold linker is there.