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
8614
8614
# -u libsys_s pulls in all symbols in libsys
8615
8615
Darwin/* )
8616
8616
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
+
8617
8623
if test " $enable_framework "
8618
8624
then
8619
8625
LINKFORSHARED=" $LINKFORSHARED " ' $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
Original file line number Diff line number Diff line change @@ -2114,6 +2114,12 @@ then
2114
2114
# -u libsys_s pulls in all symbols in libsys
2115
2115
Darwin/*)
2116
2116
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
+
2117
2123
if test "$enable_framework"
2118
2124
then
2119
2125
LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
You can’t perform that action at this time.
0 commit comments