Skip to contentSkip to conversation

libunwind: needs ARM instruction support

PATCH New Gustavo Zacarias 2 participants 2 messages Jul 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libunwind: needs ARM instruction support

Fixes:
http://autobuild.buildroot.net/results/4cf/4cf517cd81d3aa5da26848edaba5df0bfbab2c77/

---
 package/libunwind/Config.in | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
package/libunwind/Config.in +6 -3
index 593172f..a70d9e8 100644
@@ -10,13 +10,16 @@
 config BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
 	bool
 	default y if BR2_TOOLCHAIN_USES_GLIBC && \
-		(BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_mips64 || \
+		((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
+		(BR2_mips || BR2_mipsel || BR2_mips64 || \
 		 BR2_mips64el || BR2_powerpc || BR2_sh || BR2_sh64 || BR2_i386 || BR2_x86_64)
 	default y if BR2_TOOLCHAIN_USES_UCLIBC && \
-		(BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \
+		((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
+		(BR2_i386 || BR2_mips || BR2_mipsel || \
 		 BR2_mips64 || BR2_mips64el || BR2_x86_64)
 	default y if BR2_TOOLCHAIN_USES_MUSL && \
-		(BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64)
+		((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
+		(BR2_i386 || BR2_x86_64)
 
 config BR2_PACKAGE_LIBUNWIND
 	bool "libunwind"
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 libunwind: needs ARM instruction support

Hello,

Quoted 7 lines · Gustavo Zacarias

Fixes:
http://autobuild.buildroot.net/results/4cf/4cf517cd81d3aa5da26848edaba5df0bfbab2c77/

---
 package/libunwind/Config.in | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

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