powerpc: disable binutils 2.24 for little endian
authorSam bobroff <sam.bobroff@au1.ibm.com>
Fri, 3 Jul 2015 01:22:34 +0000 (11:22 +1000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Jul 2015 08:33:06 +0000 (10:33 +0200)
Binutils 2.24 produces broken code when compiling the kernel for
ppc64le, so prevent this combination. See:

https://sourceware.org/ml/binutils/2013-12/msg00200.html

The problem manifests early in the boot process with "Kernel access of
bad area, sig: 11" in arch_match_cpu_phys_id().

The fix has been merged upstream as commit
57fa7b8c7e59e35bced580f9bcb9668af43fdbce, which is available since
Binutils 2.25.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/Config.in.host

index 926b3d23501d832501d0479cd06dd291239d5e09..3fe65e0e72a7dca8bc562d827c4553c07ec0a7da 100644 (file)
@@ -18,7 +18,8 @@ choice
                bool "binutils 2.23.2"
 
        config BR2_BINUTILS_VERSION_2_24
-               depends on !BR2_nios2 # supported, but broken on Nios-II
+               # supported, but broken on Nios-II and powerpc64le
+               depends on !BR2_nios2 && !BR2_powerpc64le
                bool "binutils 2.24"
 
        config BR2_BINUTILS_VERSION_2_25