Sync ratified extensions (Ziccid/Sspmp/Zicfilp/Zicfiss) and tier vendor detection keywords - #17
Merged
Merged
Conversation
2026-04以降に ratified された取りこぼし拡張を追加。Ziccid は Z_EXTENSIONS の Memory Model 群、Zicfilp/Zicfiss は Other 群、Sspmp は S_EXTENSIONS の Supervisor (Ss*) 群にアルファベット順で挿入。拡張数は 147→151(Z 100→103、 S 47→48)。lookup できることを確認するテストを追加。 (#15)
VENDOR_KEYWORDS を SoC identifiers → board names → vendor names の3 tier に 明示的に並べ替え。DC-ROMA (StarFive JH7110→SpacemiT K3) や Milk-V/Banana Pi/Sipeed (SpacemiT K1/K3両出荷) のように、同じボード名が世代でSoCベンダー を変えるケースで、旧来のfirst-match順序だと誤検出していた。SoC識別子 (spacemit,k1 / spacemit,k3 / sg2044 / sg2380 / sun20i)を新規追加し、 ボード名はSoC識別子が無い場合のフォールバックに限定。 (#16)
Owner
Author
|
Hardware check (native build of this branch):
|
kako-jun
added a commit
that referenced
this pull request
Sep 17, 2026
レビュー指摘を反映: - mlugg/setup-zig@v2 に version: 0.16.0 を明示(CI実測ログで取得されていたバージョン) - glibc floor 検証ステップの run: | 冒頭に set -euo pipefail を明示 - Build for RISC-V ステップ直前に zig の非致命的警告に関する注記コメントを追加 - リベースにより CHANGELOG.md の [Unreleased] を削除し、[2.4.0] - 2026-09-17 の Added/Changed の後ろに Fixed セクションとして統合(#17 のバージョン更新と競合しないように) Verification: - floor 比較式 `test "$(printf 'GLIBC_2.31\n%s\n' "$max" | sort -V | tail -1)" = "GLIBC_2.31"` を ローカル bash で実行して確認: max=GLIBC_2.35(floor超過)は非0終了、max=GLIBC_2.30(floor未満)は0終了。 floor 違反時に検証が確実に落ちることを確認した。 - 手元の dist-ci/riscfetch(cargo-zigbuild ビルド済み riscv64 バイナリ)に対し `strings dist-ci/riscfetch | grep -o 'GLIBC_[0-9.]*' | sort -uV | tail -1` を実行し、 実測最大シンボルは GLIBC_2.30(floor 2.31 を満たす)と確認した(Mac に riscv64 用 objdump が無いため strings で代替)。
kako-jun
added a commit
that referenced
this pull request
Sep 17, 2026
レビュー指摘を反映: - mlugg/setup-zig@v2 に version: 0.16.0 を明示(CI実測ログで取得されていたバージョン) - glibc floor 検証ステップの run: | 冒頭に set -euo pipefail を明示 - Build for RISC-V ステップ直前に zig の非致命的警告に関する注記コメントを追加 - リベースにより CHANGELOG.md の [Unreleased] を削除し、[2.4.0] - 2026-09-17 の Added/Changed の後ろに Fixed セクションとして統合(#17 のバージョン更新と競合しないように) Verification: - floor 比較式 `test "$(printf 'GLIBC_2.31\n%s\n' "$max" | sort -V | tail -1)" = "GLIBC_2.31"` を ローカル bash で実行して確認: max=GLIBC_2.35(floor超過)は非0終了、max=GLIBC_2.30(floor未満)は0終了。 floor 違反時に検証が確実に落ちることを確認した。 - 手元の dist-ci/riscfetch(cargo-zigbuild ビルド済み riscv64 バイナリ)に対し `strings dist-ci/riscfetch | grep -o 'GLIBC_[0-9.]*' | sort -uV | tail -1` を実行し、 実測最大シンボルは GLIBC_2.30(floor 2.31 を満たす)と確認した(Mac に riscv64 用 objdump が無いため strings で代替)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
関連 Issue
closes #15
closes #16
変更内容
spacemit,k1/spacemit,k3/sg2044/sg2380/sun20iテスト
cargo test --workspace: 90 passedcargo clippy --all-targets -- -D warningsclean