You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mingw: setup _ctypes module with system libffi #62699
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-05-08.03:11:07.031>created_at=<Date2013-07-18.20:27:39.886>labels= ['type-feature', 'build']
title='mingw: setup _ctypes module with system libffi'updated_at=<Date2020-05-08.03:11:07.029>user='https://bugs.python.org/rpetrov'
enhancement of bpo-3871 ( build core modules ).
Part of bpo-3871 is python libffi source for gnu assembler on 32 windows platform. The functionality is same as inlined assembled for MSC. Note python specific libffi customization is not in mainstream libffi source.
This patch adds build with system libffi.
You you like to use customized libffi then please extract from previous 'all in one' patch.
Thanks for the suggested patch and sorry that it has not been replied to earlier. As of Python 3.7, the libffi source for Unix-y platforms is no longer "vendored" in Python source releases; building ctypes now requires an external copy of libffi, either as supplied by the system, a third-party distribution, or by building yourself. If changes to setup.py are still needed to build with a current external libffi, please feel free to reopen this issue with a pull request against the current master branch.
Activity
rpetrov commentedon Jul 18, 2013
enhancement of bpo-3871 ( build core modules ).
Part of bpo-3871 is python libffi source for gnu assembler on 32 windows platform. The functionality is same as inlined assembled for MSC. Note python specific libffi customization is not in mainstream libffi source.
This patch adds build with system libffi.
You you like to use customized libffi then please extract from previous 'all in one' patch.
ned-deily commentedon May 8, 2020
Thanks for the suggested patch and sorry that it has not been replied to earlier. As of Python 3.7, the libffi source for Unix-y platforms is no longer "vendored" in Python source releases; building ctypes now requires an external copy of libffi, either as supplied by the system, a third-party distribution, or by building yourself. If changes to setup.py are still needed to build with a current external libffi, please feel free to reopen this issue with a pull request against the current master branch.