buildroot/package/python
Erico Nunes b31f7bc958 python: use system libffi for host-python
python2 contains a bundled copy of libffi which is currently out of sync with
the latest libffi release. There is an option to use a system libffi, buildroot
already uses it for the target python2 build and for python3. In python3, the
bundled copy doesn't exist anymore and the system-provided libffi is required.

The bundled copy currently fails to build on aarch64 host due to a missing
definition of AARCH64_CALL_CONTEXT_SIZE. This define was removed from the
headers in recent libffi releases and the host compiler might be including the
system headers before the bundled headers.

To solve this and since buildroot already relies on system libffi for target
python2 and python3 anyway, switch host python2 to use system libffi.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Christian Stewart <christian@paral.in>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-06-27 17:54:58 +02:00
..
0001-setup.py-do-not-add-invalid-header-locations.patch
0002-Fix-get_python_inc-for-cross-compilation.patch
0003-Change-the-install-location-of-_sysconfigdata.py.patch
0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch
0005-Adjust-getaddrinfo-test-for-cross-compilation.patch
0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch
0007-Adjust-library-header-paths-for-cross-compilation.patch
0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch
0009-Fix-python-config-for-cross-builds.patch
0010-Remove-the-python-symlink-install-rules.patch
0011-Don-t-add-multiarch-paths.patch
0012-Abort-on-failed-module-build.patch
0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch
0014-Serial-ioctl-workaround.patch
0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch
0016-Add-an-option-to-disable-installation-of-test-module.patch
0017-Add-an-option-to-disable-pydoc.patch
0018-Add-an-option-to-disable-lib2to3.patch
0019-Add-option-to-disable-the-sqlite3-module.patch
0020-Add-an-option-to-disable-the-tk-module.patch
0021-Add-an-option-to-disable-the-curses-module.patch
0022-Add-an-option-to-disable-expat.patch
0023-Add-an-option-to-disable-CJK-codecs.patch
0024-Add-an-option-to-disable-NIS.patch
0025-Add-an-option-to-disable-unicodedata.patch
0026-Add-an-option-to-disable-bsddb.patch
0027-Add-an-option-to-disable-the-ssl-module.patch
0028-Add-an-option-to-disable-the-bz2-module.patch
0029-Add-an-option-to-disable-the-zlib-module.patch
0030-Do-not-install-the-idle-editor.patch
0031-Add-an-option-to-disable-the-ossaudiodev-module.patch
0032-Add-option-to-disable-the-hashlib-module.patch
0033-Add-an-option-to-disable-readline-module.patch
0034-Override-system-locale-and-set-to-default-when-addin.patch
Config.in
Config.in.host
python.hash
python.mk