riscv64 fails to build Python/perf_jit_trampoline.c: Unsupported target architecture
オープン
まだ誰も着手していません。
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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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