https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491
--- Comment #3 from Ian Lance Taylor <ian at airs dot com> --- The stack size on a system that does not support -fsplit-stack is set by StackMin in libgo/runtime/stack.c. There is currently no way to override the default value of 4MB, but we could probably add one based on an environment variable. (Or we could support -fsplit-stack on Solaris if there is an available slot accessible via the TLS segment register. On Linux x86_64 we use %fs:0x70.)