Explorar o código

configs/qemu_ppc64*: downgrade binutils to 2.36.1

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 <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cédric Le Goater %!s(int64=3) %!d(string=hai) anos
pai
achega
1e2fe860f3

+ 1 - 0
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"
 

+ 1 - 0
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"
 

+ 1 - 0
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"
 

+ 1 - 0
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"