Skip to content

cross compiling xxlimited fails with "Py_LIMITED_API is incompatible with Py_DEBUG" #73104

Description

@xdegaye
mannequin
BPO 28918
Nosy @doko42, @vstinner, @xdegaye, @moreati
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • xxlimited_abiflags.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 = 'https://github.com/xdegaye'
    closed_at = <Date 2016-12-11.19:30:35.481>
    created_at = <Date 2016-12-09.08:51:23.145>
    labels = ['type-bug', '3.7', 'build']
    title = 'cross compiling xxlimited fails with "Py_LIMITED_API is incompatible with Py_DEBUG"'
    updated_at = <Date 2017-03-31.16:36:07.251>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:07.251>
    actor = 'dstufft'
    assignee = 'xdegaye'
    closed = True
    closed_date = <Date 2016-12-11.19:30:35.481>
    closer = 'xdegaye'
    components = ['Cross-Build']
    creation = <Date 2016-12-09.08:51:23.145>
    creator = 'xdegaye'
    dependencies = []
    files = ['45812']
    hgrepos = []
    issue_num = 28918
    keywords = ['patch']
    message_count = 4.0
    messages = ['282771', '282773', '282774', '282856']
    nosy_count = 5.0
    nosy_names = ['doko', 'vstinner', 'xdegaye', 'python-dev', 'Alex.Willmer']
    pr_nums = ['552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28918'
    versions = ['Python 3.6', 'Python 3.7']

    Activity

    1. xdegaye commented on Dec 9, 2016

      xdegayemannequin
      MannequinAuthor

      This happens when the cross compilation is done with '--with-pydebug' while the native interpeter used to run setup.py has been built without it. The error message is:
      Py_LIMITED_API is incompatible with Py_DEBUG, Py_TRACE_REFS, and Py_REF_DEBUG

    2. self-assigned this
      on Dec 9, 2016
    3. added
      buildThe build process and cross-build
      type-bugAn unexpected behavior, bug, or error
      on Dec 9, 2016
    4. xdegaye commented on Dec 9, 2016

      xdegayemannequin
      MannequinAuthor

      Patch attached.

    5. vstinner commented on Dec 9, 2016

      @vstinner
      Member

      xxlimited_abiflags.patch LGTM.

    6. python-dev commented on Dec 10, 2016

      python-devmannequin
      Mannequin

      New changeset f9e0c864157c by Xavier de Gaye in branch '3.6':
      Issue bpo-28918: Fix the cross compilation of xxlimited when Python
      https://hg.python.org/cpython/rev/f9e0c864157c

      New changeset ff82dfd558df by Xavier de Gaye in branch 'default':
      Issue bpo-28918: Merge 3.6.
      https://hg.python.org/cpython/rev/ff82dfd558df

    7. 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

    Labels

    3.7 (EOL)end of lifebuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions