On Sun, Nov 27, 2022 at 10:29:19PM -0600, Ryan Eatmon via 
lists.yoctoproject.org wrote:
> 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.
> 
> Inspired by a patch by Anton Antonov to fix this issue on meta-arm
> kernels. [3]
> 
> [1] 
> https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac
> [2] 
> https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
> [3] 
> https://patchwork.yoctoproject.org/project/arm/patch/[email protected]/#5104
> 
> Signed-off-by: Ryan Eatmon <[email protected]>
> ---
>  ...ture-changes-causes-compile-failures.patch | 109 ++++++++++++++++++
>  ...ture-changes-causes-compile-failures.patch | 109 ++++++++++++++++++
>  ...ture-changes-causes-compile-failures.patch | 109 ++++++++++++++++++
>  .../linux/linux-ti-staging_5.10.bb            |   1 +
>  4 files changed, 328 insertions(+)
>  create mode 100644 
> meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/init_disassemble_info-signature-changes-causes-compile-failures.patch
>  create mode 100644 
> meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-5.10/init_disassemble_info-signature-changes-causes-compile-failures.patch
>  create mode 100644 
> meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/init_disassemble_info-signature-changes-causes-compile-failures.patch

This is incorrect - you should not have 3 identical copies of the same patch.

-- 
Denys
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15370): 
https://lists.yoctoproject.org/g/meta-ti/message/15370
Mute This Topic: https://lists.yoctoproject.org/mt/95304157/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to