Skip to contentSkip to conversation

gmp: dissable assembly for armv7m

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 20, 2016 – Jul 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gmp: dissable assembly for armv7m

It has different assembly constraints which can't be satisfied. Fixes:
http://autobuild.buildroot.net/results/ac6/ac65384a325912788790ceafa7db657cef9382fa/

---
 package/gmp/gmp.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/gmp/gmp.mk +2 -1
index e1d75dc..6a91a27 100644
@@ -13,7 +13,8 @@ GMP_LICENSE_FILES = COPYING.LESSERv3
 GMP_DEPENDENCIES = host-m4
 
 # GMP doesn't support assembly for coldfire or mips r6 ISA yet
-ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6),y)
+# Disable for ARM v7m since it has different asm constraints
+ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6)$(BR2_ARM_CPU_ARMV7M),y)
 GMP_CONF_OPTS += --disable-assembly
 endif
 
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 gmp: dissable assembly for armv7m

Hello,

Quoted 7 lines · Gustavo Zacarias

It has different assembly constraints which can't be satisfied. Fixes:
http://autobuild.buildroot.net/results/ac6/ac65384a325912788790ceafa7db657cef9382fa/

---
 package/gmp/gmp.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

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