Skip to content

sysconfig data is generated with the host Python's Makefile when cross-compiling #127429

Closed
@FFY00

Description

@FFY00

Bug report

Bug description:

Currently, the POSIX sysconfig data is generated with the Makefile from the host interpreter, instead of the target. This results in incorrect data, as demonstrated by https://github.com/python/cpython/actions/runs/12090193539/job/33716932397?pr=127426.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions