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 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kbuild: Unify options for BTF generation for vmlinux and modulesMakefile scripts/Makefile.modfinal scripts/link-vmlinux.sh +1 more+25 -110 replies
2/2kbuild: Add skip_encoding_btf_enum64 option to paholescripts/pahole-flags.sh+4 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndrii Nakryiko
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

Note for patch 1:
there was one extra line change in scripts/pahole-flags.sh file in its linux tree merge commit:

fc02cb2b37fe Merge tag 'net-next-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next

not sure how/if to track that, I squashed the change in.

thanks,
jirka

[1] https://lore.kernel.org/bpf/[email protected]/
[2] https://lore.kernel.org/bpf/YwQRKkmWqsf%[email protected]/
---
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/Makefile.modfinal |  2 +-
 scripts/link-vmlinux.sh   | 11 +----------
 scripts/pahole-flags.sh   | 24 ++++++++++++++++++++++++
 4 files changed, 29 insertions(+), 11 deletions(-)
 create mode 100755 scripts/pahole-flags.sh