riscv64 fails to build Python/perf_jit_trampoline.c: Unsupported target architecture
未關閉
還沒有人認領這個 Issue。
3.13
3.14
3.15
build
OS-risc-v
triaged
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Python/perf_jit_trampoline.c 的第 375 行附近開始,根據連結的 buildbot 失敗重現 riscv64 建置。比較最近一次成功的提交和第一次失敗的提交,然後檢視 gh-121328、gh-121336 和 gh-121387;完成的標準是 riscv64 建置在沒有 unsupported-target 錯誤的情況下完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- c, python
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100