changeset: 83987:b07ad4b5e349 parent: 83984:18ef35afc55d user: Ɓukasz Langa date: Thu May 30 20:58:53 2013 +0200 files: configure configure.ac description: Fixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X Patch by Ronald Oussoren diff -r 18ef35afc55d -r b07ad4b5e349 configure --- a/configure Wed May 29 23:45:05 2013 +0300 +++ b/configure Thu May 30 20:58:53 2013 +0200 @@ -8614,6 +8614,12 @@ # -u libsys_s pulls in all symbols in libsys Darwin/*) LINKFORSHARED="$extra_undefs -framework CoreFoundation" + + # Issue #18075: the default maximum stack size (8MBytes) is too + # small for the default recursion limit. Increase the stack size + # to ensure that tests don't crash + LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED" + if test "$enable_framework" then LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' diff -r 18ef35afc55d -r b07ad4b5e349 configure.ac --- a/configure.ac Wed May 29 23:45:05 2013 +0300 +++ b/configure.ac Thu May 30 20:58:53 2013 +0200 @@ -2114,6 +2114,12 @@ # -u libsys_s pulls in all symbols in libsys Darwin/*) LINKFORSHARED="$extra_undefs -framework CoreFoundation" + + # Issue #18075: the default maximum stack size (8MBytes) is too + # small for the default recursion limit. Increase the stack size + # to ensure that tests don't crash + LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED" + if test "$enable_framework" then LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'