riscv64 fails to build Python/perf_jit_trampoline.c: Unsupported target architecture
Đang mở
Chưa có ai nhận issue này.
3.13
3.14
3.15
build
OS-risc-v
triaged
- 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ả
build: https://buildbot.python.org/all/#/builders/1379/builds/625
gcc -c -fno-strict-overflow -fstack-protector-strong -Wtrampolines -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -DPy_BUILD_CORE -o Python/perf_trampoline.o Python/perf_trampoline.c
gcc -c -fno-strict-overflow -fstack-protector-strong -Wtrampolines -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -DPy_BUILD_CORE -o Python/perf_jit_trampoline.o Python/perf_jit_trampoline.c
Python/perf_jit_trampoline.c:375:6: error: #error "Unsupported target architecture"
375 | # error "Unsupported target architecture"
| ^~~~~
- Latest successful build: https://buildbot.python.org/all/#/builders/1379/builds/551 -- commit 69b3e8ea569faabccd74036e3d0e5ec7c0c62a20
- First failing build: https://buildbot.python.org/all/#/builders/1379/builds/553 -- commit 56657f6be26c11e4b7045515fd3bd15bbda3c338
cc @pablogsal
Linked PRs
- gh-121328
- gh-121336
- gh-121387
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 tại Python/perf_jit_trampoline.c, khoảng dòng 375, và tái hiện bản build riscv64 từ lỗi buildbot được liên kết. So sánh commit thành công gần nhất với commit đầu tiên bị lỗi, sau đó xem xét gh-121328, gh-121336 và gh-121387; hoàn tất khi bản build riscv64 hoàn thành mà không có lỗi unsupported-target.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- c, python
- Lĩnh vực
- build-system
- 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
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100