linux-6.1.y: fix build errors with newer GCC/glibc
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- Fixed Assisted-by tag format per coding-assistants.html
- Added upstream commit references per stable-kernel-rules.html
- Updated KVM subsystem prefix to conventional KVM: VMX: style
- Fixed Author/Signed-off-by email mismatch
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools/lib/bpf: fix const-qualifier discard in resolve_full_pathtools/ | +1 | 2 replies | |
| 2/2 | KVM: VMX: guard regparm(0) on vmread_error_trampoline for x86_32 onlyarch/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] linux-6.1.y: fix build errors with newer GCC/glibc
Please apply to linux-6.1.y.
Two build fixes for newer toolchains (GCC 15+ / glibc 2.43+):
1) tools/lib/bpf: strchr() now propagates const in newer glibc, causing -Werror=discarded-qualifiers on next_path in resolve_full_path(). Equivalent to upstream commit d70f79fef658.
2) KVM: VMX: regparm(0) on vmread_error_trampoline is a no-op on x86-64 and newer GCC emits -Wattributes for it. Guard with CONFIG_X86_32. Simpler equivalent of upstream commit 0b5e7a16a0a7 which redesigns the declaration entirely.
Changes since v1:
- Fixed Assisted-by tag format per coding-assistants.html
- Added upstream commit references per stable-kernel-rules.html
- Updated KVM subsystem prefix to conventional KVM: VMX: style
- Fixed Author/Signed-off-by email mismatch
Clark Williams (2):
tools/lib/bpf: fix const-qualifier discard in resolve_full_path
KVM: VMX: guard regparm(0) on vmread_error_trampoline for x86_32 only
arch/x86/kvm/vmx/vmx_ops.h | 7 +++++-- tools/lib/bpf/libbpf.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-)
base-commit: 228da13e907e2b46b7222cfc35290fbfad920bef
Signature · 1 line
2.54.0