* stable backport of patches fixing perf, libbpf and bpftools compilation with binutils 2.40
@ 2023-03-06 22:58 Hauke Mehrtens
2023-03-15 8:43 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Hauke Mehrtens @ 2023-03-06 22:58 UTC (permalink / raw)
To: stable; +Cc: Andres Freund, Quentin Monnet, bpf, Arnaldo Carvalho de Melo
Hi,
The following patches are fixing the compilation of perf, bpf_jit_disasm
and bpftools with binutils 2.40.
commit cfd59ca91467056bb2c36907b2fa67b8e1af9952
Subject: tools build: Add feature test for init_disassemble_info API changes
commit a45b3d6926231c3d024ea0de4f7bd967f83709ee
Subject: tools include: add dis-asm-compat.h to handle version differences
commit 83aa0120487e8bc3f231e72c460add783f71f17c
Subject: tools perf: Fix compilation error with new binutils
commit 96ed066054abf11c7d3e106e3011a51f3f1227a3
Subject: tools bpf_jit_disasm: Fix compilation error with new binutils
commit 600b7b26c07a070d0153daa76b3806c1e52c9e00
Subject: tools bpftool: Fix compilation error with new binutils
Please backport these patches to kernel 5.15. Backporting them to 5.10
resulted in more merge conflicts for me so I did not continue if it.
The patches are applying cleanly on top of 5.15.98 expect for a trivial
merge conflict in the last one:
-----
--- a/tools/bpf/bpftool/Makefile
+++ b/tools/bpf/bpftool/Makefile
@@@ -76,7 -93,7 +76,7 @@@ INSTALL ?= instal
RM ?= rm -f
FEATURE_USER = .bpftool
- FEATURE_TESTS = libbfd disassembler-four-args reallocarray zlib libcap \
-FEATURE_TESTS = libbfd disassembler-four-args
disassembler-init-styled zlib libcap \
++FEATURE_TESTS = libbfd disassembler-four-args disassembler-init-styled
reallocarray zlib libcap \
clang-bpf-co-re
FEATURE_DISPLAY = libbfd disassembler-four-args zlib libcap \
clang-bpf-co-re
-------
Hauke
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: stable backport of patches fixing perf, libbpf and bpftools compilation with binutils 2.40
2023-03-06 22:58 stable backport of patches fixing perf, libbpf and bpftools compilation with binutils 2.40 Hauke Mehrtens
@ 2023-03-15 8:43 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-03-15 8:43 UTC (permalink / raw)
To: Hauke Mehrtens
Cc: stable, Andres Freund, Quentin Monnet, bpf, Arnaldo Carvalho de Melo
On Mon, Mar 06, 2023 at 11:58:12PM +0100, Hauke Mehrtens wrote:
> Hi,
>
> The following patches are fixing the compilation of perf, bpf_jit_disasm and
> bpftools with binutils 2.40.
>
> commit cfd59ca91467056bb2c36907b2fa67b8e1af9952
> Subject: tools build: Add feature test for init_disassemble_info API changes
>
> commit a45b3d6926231c3d024ea0de4f7bd967f83709ee
> Subject: tools include: add dis-asm-compat.h to handle version differences
>
> commit 83aa0120487e8bc3f231e72c460add783f71f17c
> Subject: tools perf: Fix compilation error with new binutils
>
> commit 96ed066054abf11c7d3e106e3011a51f3f1227a3
> Subject: tools bpf_jit_disasm: Fix compilation error with new binutils
>
> commit 600b7b26c07a070d0153daa76b3806c1e52c9e00
> Subject: tools bpftool: Fix compilation error with new binutils
>
>
> Please backport these patches to kernel 5.15. Backporting them to 5.10
> resulted in more merge conflicts for me so I did not continue if it.
Now all queued up to 5.15, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-15 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 22:58 stable backport of patches fixing perf, libbpf and bpftools compilation with binutils 2.40 Hauke Mehrtens
2023-03-15 8:43 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.