From 673dd7775f6e4a58382fce19669351cd82007d16 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Dec 09 2019 23:03:59 +0000 Subject: Fix faulthandler._stack_overflow() on GCC 10 --- diff --git a/python3.spec b/python3.spec index 2152699..966c501 100644 --- a/python3.spec +++ b/python3.spec @@ -17,7 +17,7 @@ URL: https://www.python.org/ #global prerel ... %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 3%{?dist} +Release: 4%{?dist} License: Python @@ -278,6 +278,12 @@ Patch274: 00274-fix-arch-names.patch # Ideally, we should talk to upstream and explain why we don't want this Patch328: 00328-pyc-timestamp-invalidation-mode.patch +# 00338 # +# test_stack_overflow from test_faulthandler hangs when python +# has been compiled with gcc 10. +# Fixed upstream: https://bugs.python.org/issue38965 +Patch338: 00338-fix-faulthandler._stack_overflow-on-gcc10.patch + # (New patches go here ^^^) # # When adding new patches to "python" and "python3" in Fedora, EL, etc., @@ -625,6 +631,7 @@ rm Lib/ensurepip/_bundled/*.whl %patch251 -p1 %patch274 -p1 %patch328 -p1 +%patch338 -p1 # Remove files that should be generated by the build @@ -1569,6 +1576,9 @@ CheckPython optimized # ====================================================== %changelog +* Fri Dec 06 2019 Charalampos Stratakis - 3.8.0-4 +- Fix faulthandler._stack_overflow() on GCC 10 + * Tue Dec 03 2019 Miro HronĨok - 3.8.0-3 - Build Python with -fno-semantic-interposition for better performance - https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup