Possible build regression in 3.13.1 with `-latomic` on MIPS
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 35.9k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách so sánh các thay đổi build giữa CPython 3.13.0 và 3.13.1, sau đó đọc issue 125269 và pull request 125416 được liên kết. Tái hiện việc xác thực thư viện cho các mục tiêu Linux MIPS và MIPSel, đồng thời xác định liệu việc liên kết với libatomic có phải là chủ ý hay không. Được xem là hoàn tất khi hồi quy đã được giải thích và yêu cầu hệ thống bất ngờ đã được loại bỏ hoặc ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- build-system, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100