Files
MINGW-packages/mingw-w64-python3.9/4010-MINGW-stack-reserve.patch
Jeremy Drake b498f4b4a2 python3.9: reserve 2MB of stack space
https://bugs.python.org/issue40458 was happening on CLANG64.

Also, get rid of no-longer-needed setting of CC and CXX to clang.
2021-06-03 16:29:51 -07:00

15 lines
385 B
Diff

--- Python-3.9.5/configure.ac.orig 2021-06-03 15:49:37.703127100 -0700
+++ Python-3.9.5/configure.ac 2021-06-03 16:28:45.151498200 -0700
@@ -3062,6 +3062,11 @@
VxWorks*)
LINKFORSHARED='--export-dynamic';;
esac
+ case $host in
+ *-*-mingw*)
+ # for https://bugs.python.org/issue40458 on MINGW
+ LINKFORSHARED="-Wl,--stack,2000000";;
+ esac
fi
AC_MSG_RESULT($LINKFORSHARED)