Skip to content

Cross compiling on Linux is untested, undocumented, and broken #90039

Closed
@tiran

Description

@tiran
BPO 45881
Nosy @brettcannon, @tiran, @moreati
PRs
  • bpo-45881: Use CC from env first for cross building (GH-29752) #29752
  • [3.10] bpo-45881: Use CC from env first for cross building (GH-29752). (GH-29753) #29753
  • [3.9] bpo-45881: Use CC from env first for cross building (GH-29752) (GH-29754) #29754
  • bpo-45881: configure --with-freeze-module --with-build-python (GH-29835) #29835
  • Dependencies
  • bpo-45886: Fix Program/_freeze_module for cross compiling Python
  • bpo-45909: sysconfig --generate-posix-vars creates wrong file when cross compiling
  • 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 = None
    created_at = <Date 2021-11-23.16:37:45.271>
    labels = ['3.9', '3.10', '3.11', 'build', 'tests', 'docs']
    title = 'Cross compiling on Linux is untested, undocumented, and broken'
    updated_at = <Date 2021-11-29.16:23:38.440>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2021-11-29.16:23:38.440>
    actor = 'christian.heimes'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Build', 'Documentation', 'Tests', 'Cross-Build']
    creation = <Date 2021-11-23.16:37:45.271>
    creator = 'christian.heimes'
    dependencies = ['45886', '45909']
    files = []
    hgrepos = []
    issue_num = 45881
    keywords = ['patch']
    message_count = 7.0
    messages = ['406853', '406860', '406935', '406942', '407016', '407165', '407292']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'christian.heimes', 'docs@python', 'Alex.Willmer']
    pr_nums = ['29752', '29753', '29754', '29835']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45881'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesbuildThe build process and cross-builddocsDocumentation in the Doc dirtestsTests in the Lib/test dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions