commit: e371afa912187ba5e46ff4a19b21ea80934f77ab Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat May 10 11:24:47 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat May 10 12:53:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e371afa9
dev-lang/python: drop -ffat-lto-objects for >=3.12 The broken autoconf-archive macro which required us to pass -ffat-lto-objects as a workaround has been fixed and backported to >= CPython 3.12: https://github.com/python/cpython/issues/89640#issuecomment-2456579831 Note that the Python build system still adds this anyway but hopefully that can be dropped in future, like -flto-partition=one was in https://github.com/python/cpython/issues/132257. Bug: https://bugs.gentoo.org/700012 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/python/python-3.12.10.ebuild | 2 -- dev-lang/python/python-3.13.3-r100.ebuild | 2 -- dev-lang/python/python-3.13.3.ebuild | 2 -- dev-lang/python/python-3.14.0_alpha7-r100.ebuild | 2 -- dev-lang/python/python-3.14.0_alpha7.ebuild | 2 -- dev-lang/python/python-3.14.0_beta1-r100.ebuild | 2 -- dev-lang/python/python-3.14.0_beta1.ebuild | 2 -- 7 files changed, 14 deletions(-) diff --git a/dev-lang/python/python-3.12.10.ebuild b/dev-lang/python/python-3.12.10.ebuild index e674e498a6ca..c1c5804b3328 100644 --- a/dev-lang/python/python-3.12.10.ebuild +++ b/dev-lang/python/python-3.12.10.ebuild @@ -397,9 +397,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto ) diff --git a/dev-lang/python/python-3.13.3-r100.ebuild b/dev-lang/python/python-3.13.3-r100.ebuild index 8754c8ec90c6..41372672b7f7 100644 --- a/dev-lang/python/python-3.13.3-r100.ebuild +++ b/dev-lang/python/python-3.13.3-r100.ebuild @@ -420,9 +420,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto ) diff --git a/dev-lang/python/python-3.13.3.ebuild b/dev-lang/python/python-3.13.3.ebuild index da9cff18c5a3..2a02ff9b8eac 100644 --- a/dev-lang/python/python-3.13.3.ebuild +++ b/dev-lang/python/python-3.13.3.ebuild @@ -422,9 +422,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto ) 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 6d529c9d9f71..76bff7a7b465 100644 --- a/dev-lang/python/python-3.14.0_alpha7-r100.ebuild +++ b/dev-lang/python/python-3.14.0_alpha7-r100.ebuild @@ -420,9 +420,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto ) diff --git a/dev-lang/python/python-3.14.0_alpha7.ebuild b/dev-lang/python/python-3.14.0_alpha7.ebuild index b6a027663fd7..f30d04d33285 100644 --- a/dev-lang/python/python-3.14.0_alpha7.ebuild +++ b/dev-lang/python/python-3.14.0_alpha7.ebuild @@ -422,9 +422,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto ) 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 9002d4f3e39f..7ba4463de079 100644 --- a/dev-lang/python/python-3.14.0_beta1-r100.ebuild +++ b/dev-lang/python/python-3.14.0_beta1-r100.ebuild @@ -424,9 +424,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto ) diff --git a/dev-lang/python/python-3.14.0_beta1.ebuild b/dev-lang/python/python-3.14.0_beta1.ebuild index ddc7c86b021d..3f751e39232b 100644 --- a/dev-lang/python/python-3.14.0_beta1.ebuild +++ b/dev-lang/python/python-3.14.0_beta1.ebuild @@ -424,9 +424,7 @@ src_configure() { $(use_with valgrind) ) - # https://bugs.gentoo.org/700012 if tc-is-lto; then - append-cflags $(test-flags-CC -ffat-lto-objects) myeconfargs+=( --with-lto )
