summaryrefslogtreecommitdiff
path: root/dev-lang/python
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-05-10 12:14:44 +0100
committerSam James <sam@gentoo.org>2025-05-10 13:53:21 +0100
commit113415c295d1d178cfc8e1d38e338b7714a1f096 (patch)
tree661908b0e3038324552cf4f19148cfbf2fbef7eb /dev-lang/python
parent9f77be88cfa9ad57e49a01ba4b8b1cc548d6825a (diff)
downloadgentoo-113415c295d1d178cfc8e1d38e338b7714a1f096.tar.gz
gentoo-113415c295d1d178cfc8e1d38e338b7714a1f096.tar.bz2
gentoo-113415c295d1d178cfc8e1d38e338b7714a1f096.zip
dev-lang/python: don't pass -fwrapv
* In eff9f43924fc836970b2378d58523388d9246194 (which is in >=3.12), CPython drops adding -fwrapv and instead starts to pass -fno-strict-overflow instead and controls that with a configure flag (--with-strict-overflow). => We shouldn't pass -fwrapv with >=3.12.0 at least. * But also, adding -fwrapv to begin with doesn't seem right, as the build system should add that for us. We started doing that in: commit 6f4cebcf5b631f30baabb9f8e927d6aedcfbdf27 Author: Ali Polatel <hawking@gentoo.org> Date: Tue Jun 24 13:54:16 2008 +0000 Revbump. Append -fwrapv to CFLAGS if we're using gcc-4, #228905. Updated patchset to fix memory issues with unicode objects, #228905. Drop old. (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r1 x86_64) (Signed Manifest commit) which got fixed back in Python 2.5 or so! => We didn't need to pass it at all for nearly 20 years. I've dropped it for all Pythons except for 2.7.x (because who cares about that, so many UB fixes then, etc) given it wasn't doing anything. Bug: https://bugs.gentoo.org/228905 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/python-3.10.17-r1.ebuild1
-rw-r--r--dev-lang/python/python-3.11.12.ebuild1
-rw-r--r--dev-lang/python/python-3.12.10.ebuild1
-rw-r--r--dev-lang/python/python-3.13.3-r100.ebuild1
-rw-r--r--dev-lang/python/python-3.13.3.ebuild1
-rw-r--r--dev-lang/python/python-3.14.0_alpha7-r100.ebuild1
-rw-r--r--dev-lang/python/python-3.14.0_alpha7.ebuild1
-rw-r--r--dev-lang/python/python-3.14.0_beta1-r100.ebuild1
-rw-r--r--dev-lang/python/python-3.14.0_beta1.ebuild1
-rw-r--r--dev-lang/python/python-3.8.20_p7.ebuild1
-rw-r--r--dev-lang/python/python-3.9.22.ebuild1
11 files changed, 0 insertions, 11 deletions
diff --git a/dev-lang/python/python-3.10.17-r1.ebuild b/dev-lang/python/python-3.10.17-r1.ebuild
index 21a3da35103d..dd5e1696bcf5 100644
--- a/dev-lang/python/python-3.10.17-r1.ebuild
+++ b/dev-lang/python/python-3.10.17-r1.ebuild
@@ -213,7 +213,6 @@ src_configure() {
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.11.12.ebuild b/dev-lang/python/python-3.11.12.ebuild
index f0a1c419e83e..378131678f90 100644
--- a/dev-lang/python/python-3.11.12.ebuild
+++ b/dev-lang/python/python-3.11.12.ebuild
@@ -208,7 +208,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.12.10.ebuild b/dev-lang/python/python-3.12.10.ebuild
index 1bba7b9fc574..e674e498a6ca 100644
--- a/dev-lang/python/python-3.12.10.ebuild
+++ b/dev-lang/python/python-3.12.10.ebuild
@@ -211,7 +211,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.13.3-r100.ebuild b/dev-lang/python/python-3.13.3-r100.ebuild
index a02ac6833e59..8754c8ec90c6 100644
--- a/dev-lang/python/python-3.13.3-r100.ebuild
+++ b/dev-lang/python/python-3.13.3-r100.ebuild
@@ -244,7 +244,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.13.3.ebuild b/dev-lang/python/python-3.13.3.ebuild
index 72516043f5f7..da9cff18c5a3 100644
--- a/dev-lang/python/python-3.13.3.ebuild
+++ b/dev-lang/python/python-3.13.3.ebuild
@@ -246,7 +246,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.14.0_alpha7-r100.ebuild b/dev-lang/python/python-3.14.0_alpha7-r100.ebuild
index 2791b9436589..6d529c9d9f71 100644
--- a/dev-lang/python/python-3.14.0_alpha7-r100.ebuild
+++ b/dev-lang/python/python-3.14.0_alpha7-r100.ebuild
@@ -244,7 +244,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.14.0_alpha7.ebuild b/dev-lang/python/python-3.14.0_alpha7.ebuild
index 179d7e32ef3a..b6a027663fd7 100644
--- a/dev-lang/python/python-3.14.0_alpha7.ebuild
+++ b/dev-lang/python/python-3.14.0_alpha7.ebuild
@@ -246,7 +246,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.14.0_beta1-r100.ebuild b/dev-lang/python/python-3.14.0_beta1-r100.ebuild
index 41577425f9df..9002d4f3e39f 100644
--- a/dev-lang/python/python-3.14.0_beta1-r100.ebuild
+++ b/dev-lang/python/python-3.14.0_beta1-r100.ebuild
@@ -246,7 +246,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.14.0_beta1.ebuild b/dev-lang/python/python-3.14.0_beta1.ebuild
index c35b1f191ba1..ddc7c86b021d 100644
--- a/dev-lang/python/python-3.14.0_beta1.ebuild
+++ b/dev-lang/python/python-3.14.0_beta1.ebuild
@@ -248,7 +248,6 @@ src_configure() {
local -x ac_cv_header_bluetooth_bluetooth_h=no
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.8.20_p7.ebuild b/dev-lang/python/python-3.8.20_p7.ebuild
index c6e038ea7cda..868acf645bd5 100644
--- a/dev-lang/python/python-3.8.20_p7.ebuild
+++ b/dev-lang/python/python-3.8.20_p7.ebuild
@@ -138,7 +138,6 @@ src_configure() {
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
diff --git a/dev-lang/python/python-3.9.22.ebuild b/dev-lang/python/python-3.9.22.ebuild
index e8160fe107b8..90d061753484 100644
--- a/dev-lang/python/python-3.9.22.ebuild
+++ b/dev-lang/python/python-3.9.22.ebuild
@@ -147,7 +147,6 @@ src_configure() {
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
fi
- append-flags -fwrapv
filter-flags -malign-double
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.