https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107491
--- Comment #2 from Jakub Kulik <jakub.kulik at oracle dot com> --- That's what I thought, but I am not sure whether there is supposed to be a different mechanism on other platforms or whether the 4MB stack cap per thread is the maximum I can get on non Linux platform.