[Buildroot] [PATCHv2 4/6] binutils: enable for aarch64

Baruch Siach baruch at tkos.co.il
Thu Apr 24 04:04:46 UTC 2014


Hi Gustavo,

On Wed, Apr 23, 2014 at 10:00:33PM -0300, Gustavo Zacarias wrote:
> Versions lower than 2.24 fail to build a working kernel as in:
> 
> Freeing unused kernel memory: 184K (ffffffc00059a000 - ffffffc0005c8000)
> init[1]: unhandled level 2 translation fault (11) at 0x00000008, esr
> 0x92000006
> pgd = ffffffc876403000
> [00000008] *pgd=00000008f6ea0003, *pmd=0000000000000000
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---

The subject line is misleading. This patch actually disables aarch64 for
binutils < 2.24.

baruch

>  package/binutils/Config.in.host | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
> index 58738e8..2f86f51 100644
> --- a/package/binutils/Config.in.host
> +++ b/package/binutils/Config.in.host
> @@ -14,30 +14,30 @@ choice
>  		bool "binutils 2.18-avr32-1.0.1"
>  
>  	config BR2_BINUTILS_VERSION_2_20_1
> -		depends on !BR2_avr32
> +		depends on !BR2_avr32 && !BR2_aarch64
>  		depends on !BR2_ARM_EABIHF
>  		bool "binutils 2.20.1"
>  
>  	config BR2_BINUTILS_VERSION_2_21
> -		depends on !BR2_avr32
> +		depends on !BR2_avr32 && !BR2_aarch64
>  		depends on !BR2_ARM_EABIHF
>  		bool "binutils 2.21"
>  
>  	config BR2_BINUTILS_VERSION_2_21_1
> -		depends on !BR2_avr32
> +		depends on !BR2_avr32 && !BR2_aarch64
>  		depends on !BR2_ARM_EABIHF
>  		bool "binutils 2.21.1"
>  
>  	config BR2_BINUTILS_VERSION_2_22
> -		depends on !BR2_avr32
> +		depends on !BR2_avr32 && !BR2_aarch64
>  		bool "binutils 2.22"
>  
>  	config BR2_BINUTILS_VERSION_2_23_1
> -		depends on !BR2_avr32
> +		depends on !BR2_avr32 && !BR2_aarch64
>  		bool "binutils 2.23.1"
>  
>  	config BR2_BINUTILS_VERSION_2_23_2
> -		depends on !BR2_avr32
> +		depends on !BR2_avr32 && !BR2_aarch64
>  		bool "binutils 2.23.2"
>  
>  	config BR2_BINUTILS_VERSION_2_24
> -- 
> 1.8.3.2

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list