https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #246 from Andreas Schwab <sch...@linux-m68k.org> --- GCC requires a stack size of 64MB. qemu-user needs to allocate the stack on startup and cannot change its size at runtime (any attempt to use setrlimit(RLIMIT_STACK) will be ignored).