Possible build regression in 3.13.1 with `-latomic` on MIPS
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
Hey! I'm still learning about these things, but I noticed a difference between 3.13.0 and 3.13.1 and want to confirm if this intentional.
In python-build-standalone, we validate the linked libraries after building a distribution. Both the free-threaded and default variants of Python 3.13.1 failed this validation due to a link to atomic on the following target triples:
mips-unknown-linux-gnumipsel-unknown-linux-gnu
I'm not sure why the inclusion is limited to these targets yet.
I added an exception to our validation for now, but we're concerned about the additional system requirement and would prefer to remove it. I'm not sure what changed, but it looks like there's a relevant news entry linking to https://github.com/python/cpython/issues/125269.
Note that we apply patches to CPython before building, it's possible this is just our bug.
Related:
- https://github.com/python/cpython/issues/125269
- https://github.com/python/cpython/pull/125416
- https://github.com/indygreg/python-build-standalone/issues/410
- https://github.com/indygreg/python-build-standalone/pull/400
CPython versions tested on:
3.13
Operating systems tested on:
Linux
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先比较 CPython 3.13.0 和 3.13.1 的构建变更,然后阅读链接的 issue 125269 和 pull request 125416。复现 MIPS 和 MIPSel Linux 目标的库验证,并确定链接 libatomic 是否是有意为之。回归问题得到解释,并且意外的系统要求已被移除或记录,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100