https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61871
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- Following patch "fixes" the test: --cut here-- Index: runtime/proc.c =================================================================== --- runtime/proc.c (revision 213681) +++ runtime/proc.c (working copy) @@ -51,7 +51,7 @@ #if defined(USING_SPLIT_STACK) && defined(LINKER_SUPPORTS_SPLIT_STACK) # define StackMin PTHREAD_STACK_MIN #else -# define StackMin 2 * 1024 * 1024 +# define StackMin 3 * 1024 * 1024 #endif uintptr runtime_stacks_sys; --cut here--