| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
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@gentoo.org>
|
|
* 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>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|