1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-31 00:39:57 +00:00

work around for too few arguments to function init_disassemble_info() error

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/20220801013834.156015-1-andres@anarazel.de/

Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
This commit is contained in:
Anton Antonov
2022-08-23 20:07:51 +01:00
committed by Jon Mason
parent 0027806b53
commit e57163cf06
4 changed files with 201 additions and 1 deletions
@@ -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"