https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870
--- Comment #19 from boger at us dot ibm.com --- (In reply to Ian Lance Taylor from comment #18) > In the patch in comment #17, the code in gcc/configure.ac looks misplaced: > shouldn't it be before the ";;", and not add another ";;"? > > Can you explain why the test in libgo/configure.ac will fail for a linker > that does not support split-stack? I'm not quite seeing it. I haven't > tried it, though. For ppc64le, some split stack support was recently added to the gold linker by Alan, so if you try to use a gold linker that is too old, you will get an error like this: /usr/bin/ld.gold -o sss ss-callee.o ss-call.o --defsym __morestack=0 /usr/bin/ld.gold: error: linker does not include stack split support required by ss-call.o But with one after he added the support, it does not get this error. If it is not gold then it doesn't get the error either. However on ppc64 (BE, not LE) it never gets the error, old or new gold. Alan would have to answer why. I don't know about other targets, I haven't tried it. I suppose the test could be on the version number for the gold linker at least for ppc64 LE or BE. Sorry I probably messed up the ;; I will double check on that.