Skip to content

Building Python 3.12.11 on Linux makes 2 copes of very large libpython3.12.a file #137193

@stevecj

Description

@stevecj

Bug report

Bug description:

When I build Python 3.12.11 from source code on Linux, the result includes 2 copies of the libpython3.12.a file which is about 56 megabytes in size!

File locations

  • <prefix>/lib/libpython3.12.a
  • <prefix>/lib/python3.12/config-3.12-x86_64-linux-gnu/libpython3.12.a

I presume one of those is supposed to be a symbolic link to the other, or maybe the entire <prefix>/lib/python3.12/config-3.12-x86_64-linux-gnu directory is not supposed to be included in the installation?

Is this something that everyone is experiencing, or am I likely doing something wrong that is causing this to happen for me?

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildperformancePerformance or resource usagetopic-installationtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions