mbox series

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

Message ID 20221019085604.1017583-1-jolsa@kernel.org (mailing list archive)
Headers show
Series kbuild: Fix compilation for latest pahole release | expand

Message

Jiri Olsa Oct. 19, 2022, 8:55 a.m. UTC
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

Comments

Greg KH Oct. 19, 2022, 2:55 p.m. UTC | #1
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
Jiri Olsa Oct. 19, 2022, 3:30 p.m. UTC | #2
On Wed, Oct 19, 2022 at 04:55:46PM +0200, Greg KH wrote:
> 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!

great, thanks

jirka
Greg Kroah-Hartman Oct. 26, 2022, 4:44 p.m. UTC | #3
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

Now queued up, thanks.

greg k-h