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

Greg KH
2022-10-19T15:02:42Z

On Wed, Oct 19, 2022 at 10:55:59AM +0200, Jiri Olsa wrote:
> 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/20220825163538.vajnsv3xcpbhl47v@altlinux.org/
> [2] https://lore.kernel.org/bpf/YwQRKkmWqsf%2FDu6A@kernel.org/
> ---
> 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

Ah, all showed up now. I'll look at these tomorrow, thanks!

greg k-h