diff options
author | Łukasz Langa <lukasz@langa.pl> | 2013-05-30 18:58:53 (GMT) |
---|---|---|
committer | Łukasz Langa <lukasz@langa.pl> | 2013-05-30 18:58:53 (GMT) |
commit | 335ab5b66f432ae3713840ed2403a11c368f5406 (patch) | |
tree | cddf32c658584584984ec7fe47a7562b3ef96d1a /configure | |
parent | ad0e6b1034b2d727d666470f691364ebf8defd1b (diff) | |
download | cpython-335ab5b66f432ae3713840ed2403a11c368f5406.zip cpython-335ab5b66f432ae3713840ed2403a11c368f5406.tar.gz cpython-335ab5b66f432ae3713840ed2403a11c368f5406.tar.bz2 |
Fixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X
Patch by Ronald Oussoren
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -8614,6 +8614,12 @@ then # -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)' |