Skip to content

mingw: setup _ctypes module with system libffi #62699

Closed

Description

@rpetrov
mannequin
BPO 18499
Nosy @ned-deily
Files
  • 0011-MINGW-setup-_ctypes-module-with-system-libffi.patch
  • 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 = None
    closed_at = <Date 2020-05-08.03:11:07.031>
    created_at = <Date 2013-07-18.20:27:39.886>
    labels = ['type-feature', 'build']
    title = 'mingw: setup _ctypes module with system libffi'
    updated_at = <Date 2020-05-08.03:11:07.029>
    user = 'https://bugs.python.org/rpetrov'

    bugs.python.org fields:

    activity = <Date 2020-05-08.03:11:07.029>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-08.03:11:07.031>
    closer = 'ned.deily'
    components = ['Build']
    creation = <Date 2013-07-18.20:27:39.886>
    creator = 'rpetrov'
    dependencies = []
    files = ['30974']
    hgrepos = []
    issue_num = 18499
    keywords = ['patch']
    message_count = 2.0
    messages = ['193322', '368412']
    nosy_count = 2.0
    nosy_names = ['ned.deily', 'rpetrov']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18499'
    versions = ['Python 3.4']

    Activity

    1. rpetrov commented on Jul 18, 2013

      rpetrovmannequin
      MannequinAuthor

      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.

    2. added
      buildThe build process and cross-build
      type-featureA feature request or enhancement
      on Jul 18, 2013
    3. ned-deily commented on May 8, 2020

      @ned-deily
      Member

      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.

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      buildThe build process and cross-buildtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions