From 1e2fe860f3a261fc877591c056808d6fb30e25d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Wed, 18 May 2022 06:48:59 +0200 Subject: [PATCH] configs/qemu_ppc64*: downgrade binutils to 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: Joel Stanley Signed-off-by: Cédric Le Goater Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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 072240c99c..c455fcffe4 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 ad523ec2ef..efa8106ff1 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 a784695ddf..773ee4023f 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 f10b0fdf40..8a20f58f1e 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"