[Buildroot] [PATCH 1/1] rustc: disable for ARMV7A with EABI

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Feb 27 08:39:35 UTC 2018


Hello,

On Tue, 27 Feb 2018 08:51:38 +0100, Peter Korsgaard wrote:

>  > It looks like a better fix would be:  
> 
>  > config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
>  >         bool
>  >         # The pre-built Rust standard library is only available for the
>  >         # following architectures/ABIs, and is built against glibc.
>  >         default y if BR2_i386
>  >         default y if BR2_x86_64
>  >         default y if BR2_aarch64
>  > -       default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
>  > +	default y if BR2_ARM_CPU_ARMV6 || BR2_ARM_CPU_ARMV7A  
> 
> I agree that having positive logic would be nicer. It is a bit more
> complicated than this as we also should handle ARMV8A cores in ARM mode
> similar to how ve handle ARMV7A.
> 
> Care to send an updated patch on top of master doing that?

I was hoping that Eric would handle that :-)

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com



More information about the buildroot mailing list