https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77393
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Can you test by changing the define in write.c line 1349: > > #define BUF_STACK_SZ 256 On x86_64-apple-darwin15 the threshold (minimal value without SIGSEGV) is 385 with -m64 and 596 with -m32.