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