Fix kernel toolchain action inputs - #80
Merged
fionera merged 1 commit intoAug 5, 2026
Merged
Conversation
fionera
marked this pull request as ready for review
August 5, 2026 17:04
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.
Summary
arch/x86/include/asm/inat.hto the x86 instruction-table generator and declare it as an action inputcc_toolchain.all_fileswhen feature-generated flags omit itRoot cause
The x86 generator binary requires
-inat_h, but the bzImage action only supplied the opcode map. Separately, Linux compile actions add-nostdincand previously relied on the configured feature flags to carry Clang's resource include directory; some source-built hermetic LLVM toolchains declare that tree inall_fileswithout emitting the corresponding flag.Fixes #78.
Fixes #79.
Validation
//:kernel_outputs_x86_64_build_test: passed after building the complete x86 image graph (4,474 actions)//:kvm_arm64_neon_kernel_build_test: passed after building the ARM64 KVM/NEON kernel graph (3,028 graph actions)aqueryconfirmsLinuxX86InsnAttrdeclares bothinat.hand the opcode map and passes-inat_hThe broad local
//...run reached 151 passing tests with no test failures, but Bazel 9.1 twice crashed internally in Skyframe under the CI state-discard options. A subsequent run without those options exhausted the shared workspace disk while sandboxing unrelated Go links. The draft PR CI is left to run the complete clean matrix.