powerpc: disable binutils 2.24 for little endian
PATCH 1/1 powerpc: disable binutils 2.24 for little endian
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().
---
package/binutils/Config.in.host | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/binutils/Config.in.host +2 -1
@@ -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
Signature · 1 line
2.1.4
Thomas Petazzoni
AppliedPATCH 1/1 powerpc: disable binutils 2.24 for little endian
Dear Sam Bobroff,
Quoted 10 lines · Sam Bobroff
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().Signed-off-by Sam Bobroff <[email protected]>---
Applied, thanks. I've only added a small indication in the commit log:
the upstream binutils fix, and clearly said it was available since binutils 2.25.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com