[Buildroot] [PATCH] nettle: disable assembly optimizations for ARMv7M

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 27 07:15:44 UTC 2016


Hello,

On Tue, 26 Jul 2016 23:18:37 +0200, Peter Korsgaard wrote:

>  > ifeq ($(BR2_ARM_CPU_ARMV6)$(BR2_ARM_CPU_ARMV6),)  
> 
> I take it that you mean:
> 
> ifeq ($(BR2_ARM_CPU_ARMV6)$(BR2_ARM_CPU_ARMV7A),)

Indeed, bad copy/paste.

> We could also simply check for ARM and THUMB2 instructions, E.G.:
> 
> # needs thumb2 and arm instructions support
> ifneq ($(BR2_ARM_CPU_HAS_ARM)$(BR2_ARM_CPU_HAS_THUMB2),yy)

I don't think this is equivalent. Indeed, ARMv6 doesn't have Thumb2 (at
least from Buildroot point of view), while the assembly code in Nettle
is OK for ARMv6.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list