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
cross compiling xxlimited fails with "Py_LIMITED_API is incompatible with Py_DEBUG" #73104
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=<Date2016-12-11.19:30:35.481>created_at=<Date2016-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=<Date2017-03-31.16:36:07.251>user='https://github.com/xdegaye'
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
Activity
xdegaye commentedon 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 commentedon Dec 9, 2016
Patch attached.
vstinner commentedon Dec 9, 2016
xxlimited_abiflags.patch LGTM.
python-dev commentedon 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