Building Python 3.12.11 on Linux makes 2 copes of very large libpython3.12.a file
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 Linux 上复现 Python 3.12.11 的源代码构建,并检查报告的两个 libpython3.12.a 位置:/lib 和 /lib/python3.12/config-3.12-x86_64-linux-gnu。比较已安装的文件以及构建或安装行为,以确定重复文件是否符合预期。当问题得到解释,或安装产生预期的单副本布局时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100