Repository navigation
kernel: backport __u128 tools/include fix - #623
Merged
ginglis13 merged 1 commit intoNov 11, 2026
Merged
Conversation
Fedora kernel-headers >= 7.3 carries an upstream commit which re-types the arm64 UAPI sigcontext/ptrace 128-bit fields from the always-defined builtin __uint128_t to the __u128 typedef. On an aarch64 build host, the kernel's own host tools (objtool, resolve_btfids, libsubcmd) are compiled natively and pull in that header via <signal.h>, but the kernel's bundled tools/include/linux/types.h does not define __u128, so the build fails with "unknown type name '__u128'". Backport the upstream commit which adds this typedef so host-tool builds work regardless of the SDK's kernel-headers version. Signed-off-by: Gavin Inglis <[email protected]>
ginglis13
force-pushed
the
kernel-u128-backport
branch
from
November 11, 2026 17:55
937d82b to
de6a977
Compare
Contributor
Author
|
^ force push fixes patch numbering to be sequential https://github.com/bottlerocket-os/bottlerocket-kernel-kit/compare/937d82b43024a8b1747e3145550f8c619de96956..de6a9775d40a3090e11e4afd204db357102a910a |
vyaghras
approved these changes
Nov 11, 2026
maherthomsi
approved these changes
Nov 11, 2026
vigh-m
approved these changes
Nov 11, 2026
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 number:
Closes #622
Description of changes:
Fedora kernel-headers >= 7.3 carries a commit that re-types the arm64 UAPI sigcontext/ptrace 128-bit fields from the always-defined builtin
__uint128_tto the__u128typedef. On an aarch64 build host, the kernel's own host tools (objtool, resolve_btfids, libsubcmd) are compiled natively and pull in that header via<signal.h>, but the kernel's bundledtools/include/linux/types.hdoes not define__u128, so the build fails with "unknown type name '__u128'".Backport upstream torvalds/linux@10a47fb67 to kernel-6.1, kernel-6.12, kernel-6.18, and kernel-6.18-microvm so host-tool builds work regardless of the SDK's kernel-headers version.
Testing done:
Build the kernel-kit with a freshly built SDK on aarch64 and x86_64, targeting both x86_64 and aarch64.
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.