packages/lang/python/python3/patches
Šimon Bořek 992fcd1bd8 python3: backport and fix target musl libc detection
Patch 030:
Backported from Python main branch[^1] for Python to distinguish between glibc and musl libc SOABI.

Patch 131:
Changes PLATFORM_TRIPLET -gnu/-musl suffix detection (performed by the backported patch)
to be based on the target OS instead of the building OS.

See included patches for more detailed descriptions.

Specifically this fixes cross-compilation for mpc8548 CPUs with SPE instructions[^2] enabled.

[^1]: merged to python:main as https://github.com/python/cpython/pull/24502 'bpo-43112: detect musl as a separate SOABI'
[^2]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Co-authored-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-09-12 14:20:14 -07:00
..
001-enable-zlib.patch python3: bump to version 3.10.0 2021-11-19 13:30:14 +02:00
004-do-not-write-bytes-codes.patch python3: Update to 3.10.5, refresh patches 2022-06-13 18:21:20 +08:00
006-do-not-add-multiarch-paths-when-cross-compiling.patch python3: Update to 3.10.3, refresh patches 2022-03-21 16:43:35 +08:00
007-distutils-do-not-adjust-path.patch python3: refresh patches make package/python3/refresh cmd 2017-07-26 23:56:51 +03:00
008-distutils-use-python-sysroot.patch python3: bump to version 3.10.0 2021-11-19 13:30:14 +02:00
014-remove-platform-so-suffix.patch python3: Update to 3.10.3, refresh patches 2022-03-21 16:43:35 +08:00
016-adjust-config-paths.patch python3: Update to 3.10.3, refresh patches 2022-03-21 16:43:35 +08:00
024-musl-find_library.patch treewide: Run refresh on all packages 2021-02-20 16:02:15 -08:00
025-choose-python-config-version.patch python3: Update to 3.10.1, refresh/remove patches 2022-01-05 16:10:01 +08:00
026-openssl-feature-flags.patch python3: update patches for libressl v3.5 2022-07-23 12:28:55 -07:00
028-host-python-support-ssl-with-libressl.patch python3: update patches for libressl v3.5 2022-07-23 12:28:55 -07:00
030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch python3: backport and fix target musl libc detection 2022-09-12 14:20:14 -07:00
131-configure_ac-switch-PLATFORM_TRIPLET-suffix-to-musl.patch python3: backport and fix target musl libc detection 2022-09-12 14:20:14 -07:00