On Tue, Feb 07, 2023 at 08:24:17AM -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]>
> ---
> meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> index 2e0f2448..35fb40cd 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> @@ -25,7 +25,8 @@ SRCREV:k3 = "11ebcc09f32669fac8254dff56d500f86c4c2caf"
> PV:k3 = "5.10.153+git${SRCPV}"
> BRANCH:k3 = "5.10-arm64"
>
> -SRC_URI =
> "git://git.beagleboard.org/beagleboard/linux.git;protocol=https;branch=${BRANCH}"
> +SRC_URI =
> "git://git.beagleboard.org/beagleboard/linux.git;protocol=https;branch=${BRANCH}
> \
> +
> file://init_disassemble_info-signature-changes-causes-compile-failures.patch"
Did you forget to add the patch?
> DEFCONFIG_NAME = "bb.org_defconfig"
> KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
> --
> 2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15739):
https://lists.yoctoproject.org/g/meta-ti/message/15739
Mute This Topic: https://lists.yoctoproject.org/mt/96807829/21656
Group Owner: [email protected]
Unsubscribe:
https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-