[Buildroot] [PATCH v2 2/2] configs/qemu_ppc64*: downgrade binutils to 2.36.1
Romain Naour
romain.naour at gmail.com
Wed May 18 19:40:18 UTC 2022
Hello,
Le 18/05/2022 à 06:48, Cédric Le Goater a écrit :
> ppc64 or powernv Linux defconfig fail to build with gcc 11 and/or
> binutils 2.37 [1] :
>
> CC kernel/kexec_file.o
> Cannot find symbol for section 10: .text.unlikely.
> kernel/kexec_file.o: failed
>
> Patches have been sent upstream and should reach Linux 5.18. Until
> then, limit binutils to 2.36.1 which doesn't raise the issue.
>
> [1] https://github.com/linuxppc/issues/issues/388
It fixes ppc64 issues reported on 2022.05-rc1:
https://gitlab.com/buildroot.org/buildroot/-/pipelines/541921170/failures
Best regards,
Romain
>
> Cc: Joel Stanley <joel at jms.id.au>
> Signed-off-by: Cédric Le Goater <clg at kaod.org>
> ---
>
> https://gitlab.com/legoater/buildroot/-/pipelines/539559209
>
> configs/qemu_ppc64_e5500_defconfig | 1 +
> configs/qemu_ppc64_pseries_defconfig | 1 +
> configs/qemu_ppc64le_powernv8_defconfig | 1 +
> configs/qemu_ppc64le_pseries_defconfig | 1 +
> 4 files changed, 4 insertions(+)
>
> diff --git a/configs/qemu_ppc64_e5500_defconfig b/configs/qemu_ppc64_e5500_defconfig
> index 0825d0ab9b30..8458f2739a66 100644
> --- a/configs/qemu_ppc64_e5500_defconfig
> +++ b/configs/qemu_ppc64_e5500_defconfig
> @@ -3,6 +3,7 @@ BR2_powerpc64=y
> BR2_powerpc_e5500=y
>
> # System
> +BR2_BINUTILS_VERSION_2_36_X=y
> BR2_SYSTEM_DHCP="eth0"
> BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
>
> diff --git a/configs/qemu_ppc64_pseries_defconfig b/configs/qemu_ppc64_pseries_defconfig
> index c45014f2ac3f..480ebea29d70 100644
> --- a/configs/qemu_ppc64_pseries_defconfig
> +++ b/configs/qemu_ppc64_pseries_defconfig
> @@ -3,6 +3,7 @@ BR2_powerpc64=y
> BR2_powerpc_power7=y
>
> # System
> +BR2_BINUTILS_VERSION_2_36_X=y
> BR2_SYSTEM_DHCP="eth0"
> BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
>
> diff --git a/configs/qemu_ppc64le_powernv8_defconfig b/configs/qemu_ppc64le_powernv8_defconfig
> index 822145e927a1..8de4cf5189b5 100644
> --- a/configs/qemu_ppc64le_powernv8_defconfig
> +++ b/configs/qemu_ppc64le_powernv8_defconfig
> @@ -3,6 +3,7 @@ BR2_powerpc64le=y
> BR2_powerpc_power8=y
>
> # System
> +BR2_BINUTILS_VERSION_2_36_X=y
> BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
> BR2_SYSTEM_DHCP="eth0"
>
> diff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig
> index 5eaa3e953f78..98c6afdf9399 100644
> --- a/configs/qemu_ppc64le_pseries_defconfig
> +++ b/configs/qemu_ppc64le_pseries_defconfig
> @@ -3,6 +3,7 @@ BR2_powerpc64le=y
> BR2_powerpc_power8=y
>
> # System
> +BR2_BINUTILS_VERSION_2_36_X=y
> BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
> BR2_SYSTEM_DHCP="eth0"
>
More information about the buildroot
mailing list