File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8614,6 +8614,12 @@ then
86148614 # -u libsys_s pulls in all symbols in libsys
86158615 Darwin/* )
86168616 LINKFORSHARED=" $extra_undefs -framework CoreFoundation"
8617+
8618+ # Issue #18075: the default maximum stack size (8MBytes) is too
8619+ # small for the default recursion limit. Increase the stack size
8620+ # to ensure that tests don't crash
8621+ LINKFORSHARED=" -Wl,-stack_size,1000000 $LINKFORSHARED "
8622+
86178623 if test " $enable_framework "
86188624 then
86198625 LINKFORSHARED=" $LINKFORSHARED " ' $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
Original file line number Diff line number Diff line change @@ -2114,6 +2114,12 @@ then
21142114 # -u libsys_s pulls in all symbols in libsys
21152115 Darwin/*)
21162116 LINKFORSHARED="$extra_undefs -framework CoreFoundation"
2117+
2118+ # Issue #18075: the default maximum stack size (8MBytes) is too
2119+ # small for the default recursion limit. Increase the stack size
2120+ # to ensure that tests don't crash
2121+ LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED"
2122+
21172123 if test "$enable_framework"
21182124 then
21192125 LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
You can’t perform that action at this time.
0 commit comments