Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
xdegaye mannequin opened this issue Dec 9, 2016 · 4 comments
Closed

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

xdegaye mannequin opened this issue Dec 9, 2016 · 4 comments
Assignees
Labels
3.7 (EOL) end of life build The build process and cross-build type-bug An unexpected behavior, bug, or error

Comments

@xdegaye
Copy link
Mannequin

xdegaye mannequin commented Dec 9, 2016

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']

    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented Dec 9, 2016

    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

    @xdegaye xdegaye mannequin added the 3.7 (EOL) end of life label Dec 9, 2016
    @xdegaye xdegaye mannequin self-assigned this Dec 9, 2016
    @xdegaye xdegaye mannequin added build The build process and cross-build type-bug An unexpected behavior, bug, or error labels Dec 9, 2016
    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented Dec 9, 2016

    Patch attached.

    @vstinner
    Copy link
    Member

    vstinner commented Dec 9, 2016

    xxlimited_abiflags.patch LGTM.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Dec 10, 2016

    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

    @xdegaye xdegaye mannequin closed this as completed Dec 11, 2016
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life build The build process and cross-build type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant