e2b99fa190
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>
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
comment "Binutils Options"
|
|
|
|
choice
|
|
prompt "Binutils Version"
|
|
depends on !BR2_arc
|
|
default BR2_BINUTILS_VERSION_2_24
|
|
help
|
|
Select the version of binutils you wish to use.
|
|
|
|
config BR2_BINUTILS_VERSION_2_22
|
|
depends on !BR2_aarch64 && !BR2_microblaze && \
|
|
!BR2_powerpc64le && !BR2_nios2
|
|
bool "binutils 2.22"
|
|
|
|
config BR2_BINUTILS_VERSION_2_23_2
|
|
depends on !BR2_aarch64 && !BR2_microblaze && \
|
|
!BR2_powerpc64le && !BR2_nios2
|
|
bool "binutils 2.23.2"
|
|
|
|
config BR2_BINUTILS_VERSION_2_24
|
|
# supported, but broken on Nios-II and powerpc64le
|
|
depends on !BR2_nios2 && !BR2_powerpc64le
|
|
bool "binutils 2.24"
|
|
|
|
config BR2_BINUTILS_VERSION_2_25
|
|
bool "binutils 2.25"
|
|
|
|
endchoice
|
|
|
|
config BR2_BINUTILS_VERSION
|
|
string
|
|
default "arc-2015.06-rc1" if BR2_arc
|
|
default "2.22" if BR2_BINUTILS_VERSION_2_22
|
|
default "2.23.2" if BR2_BINUTILS_VERSION_2_23_2
|
|
default "2.24" if BR2_BINUTILS_VERSION_2_24
|
|
default "2.25" if BR2_BINUTILS_VERSION_2_25
|
|
|
|
config BR2_BINUTILS_ENABLE_LTO
|
|
bool
|
|
|
|
config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS
|
|
string "Additional binutils options"
|
|
default ""
|
|
help
|
|
Any additional binutils options you may want to include.
|