Skip to content

kbuild: Fix compilation for latest pahole release

Jiri Olsa bpf oe-kbuild-all stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bpf: Generate BTF_KIND_FLOAT when linking vmlinuxscripts/link-vmlinux.sh+2 -10 replies
2/5kbuild: Quote OBJCOPY var to avoid a pahole call break the buildscripts/link-vmlinux.sh+1 -12 replies
3/5kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21scripts/link-vmlinux.sh+5 -00 replies
4/5kbuild: Unify options for BTF generation for vmlinux and modulesMakefile scripts/link-vmlinux.sh scripts/pahole-flags.sh+21 -70 replies
5/5kbuild: Add skip_encoding_btf_enum64 option to paholescripts/pahole-flags.sh+4 -03 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAndrii NakryikoMel GormanArnaldo Carvalho de Melo
1/5A-b
2/5A-b A-b
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH stable 5.10 0/5] kbuild: Fix compilation for latest pahole release

hi,
new version of pahole (1.24) is causing compilation fail for 5.10 stable kernel, discussed in here [1][2]. Sending fix for that plus dependency patches.

thanks,
jirka

[1] https://lore.kernel.org/bpf/[email protected]/
[2] https://lore.kernel.org/bpf/YwQRKkmWqsf%[email protected]/
---
Andrii Nakryiko (1):
kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21

Ilya Leoshkevich (1):
bpf: Generate BTF_KIND_FLOAT when linking vmlinux

Javier Martinez Canillas (1):
kbuild: Quote OBJCOPY var to avoid a pahole call break the build

Jiri Olsa (1):
kbuild: Unify options for BTF generation for vmlinux and modules

Martin Rodriguez Reboredo (1):
kbuild: Add skip_encoding_btf_enum64 option to pahole

 Makefile                |  3 +++
 scripts/link-vmlinux.sh |  2 +-
 scripts/pahole-flags.sh | 21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100755 scripts/pahole-flags.sh