work around for too few arguments to function init_disassemble_info() error
PATCH 1/1 work around for too few arguments to function init_disassemble_info() error
From: Anton Antonov <[email protected]>
binutils 2.39 changed the signature of init_disassemble_info(), which now causes perf and bpftool to fail to compile.
Relevant binutils commit: [1]
There is a proper fix in development upstream[2].
This is a work-around for older kernels.
[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac
[2] https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
--- .../linux/linux-arm-platforms.inc | 1 + ...ture-changes-causes-compile-failures.patch | 99 +++++++++++++++++++ ...ture-changes-causes-compile-failures.patch | 99 +++++++++++++++++++ .../linux/linux-yocto_%.bbappend | 3 +- 4 files changed, 201 insertions(+), 1 deletion(-) create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.10/tc/init_disassemble_info-signature-changes-causes-compile-failures.patch create mode 100644 meta-gem5/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch
meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +1 -0
@@ -179,6 +179,7 @@ SRC_URI:append:tc = " \ file://0042-ANDROID-trusty-ffa-Add-support-for-FFA-memory-operat.patch \ file://0043-ANDROID-trusty-ffa-Enable-FFA-transport-for-both-mem.patch \ file://0044-ANDROID-trusty-Make-trusty-transports-configurable.patch \ + file://init_disassemble_info-signature-changes-causes-compile-failures.patch \ " KERNEL_FEATURES:append:tc = " bsp/arm-platforms/tc.scc" KERNEL_FEATURES:append:tc1 = " bsp/arm-platforms/tc-autofdo.scc"
meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-5.10/tc/init_disassemble_info-signature-changes-causes-compile-failures.patch new file +99 -0
99 lines not on this page · raw message
meta-gem5/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch new file +99 -0
99 lines not on this page · raw message
meta-gem5/recipes-kernel/linux/linux-yocto_%.bbappend +2 -1
@@ -3,7 +3,8 @@ FILESEXTRAPATHS:prepend:gem5-arm64 := "${THISDIR}:${THISDIR}/files:" COMPATIBLE_MACHINE:gem5-arm64 = "gem5-arm64" KMACHINE:gem5-arm64 = "gem5-arm64" SRC_URI:append:gem5-arm64 = " file://gem5-kmeta;type=kmeta;name=gem5-kmeta;destsuffix=gem5-kmeta \ - file://dts/gem5-arm64;subdir=add-files" + file://dts/gem5-arm64;subdir=add-files \ + file://init_disassemble_info-signature-changes-causes-compile-failures.patch" do_patch:append:gem5-arm64() { tar -C ${WORKDIR}/add-files/dts -cf - gem5-arm64 | \
Signature · 1 line
2.17.1
Jon Mason
AppliedQuoted 9 lines · Jon Mason
binutils 2.39 changed the signature of
init_disassemble_info(), which now causes perf and bpftool to fail to compile.Relevant binutils commit: [1]
There is a proper fix in development upstream[2].
This is a work-around for older kernels.[...]
Applied, thanks!
[1/1] work around for too few arguments to function init_disassemble_info() error
commit: e57163cf0639fa942d434505510c8d8638e2d415
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 9 lines · Jon Mason
binutils 2.39 changed the signature of
init_disassemble_info(), which now causes perf and bpftool to fail to compile.Relevant binutils commit: [1]
There is a proper fix in development upstream[2].
This is a work-around for older kernels.[...]
Applied, thanks!
[1/1] work around for too few arguments to function init_disassemble_info() error
commit: e57163cf0639fa942d434505510c8d8638e2d415
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 9 lines · Jon Mason
binutils 2.39 changed the signature of
init_disassemble_info(), which now causes perf and bpftool to fail to compile.Relevant binutils commit: [1]
There is a proper fix in development upstream[2].
This is a work-around for older kernels.[...]
Applied, thanks!
[1/1] work around for too few arguments to function init_disassemble_info() error
commit: e57163cf0639fa942d434505510c8d8638e2d415
Best regards,
Signature · 1 line
Jon Mason <[email protected]>