Skip to contentSkip to conversation

ARC: Enable XSI math extensions in ARC defconfigs

PATCH New Vlad Zakharov 1 participant 1 message Feb 28, 2017 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: Enable XSI math extensions in ARC defconfigs

This commit enables XSI math extensions to the ISO C standard (bessel). We need this to be able to build mpv package as it uses functions from this extensions.

As an example I can refer to buildroot autobuilds where mpv build is failing when using prebuilt ARC toolchain (which in its turn uses uClibc without XSI math extensions):
http://autobuild.buildroot.net/results/fb6/fb677a917545adee321bdcd2c2519c81326448c4/build-end.log

Signed-off-by Vlad Zakharov <vzakhar at synopsys.com>
---
 extra/Configs/defconfigs/arc/arcv2_defconfig | 1 +
 extra/Configs/defconfigs/arc/defconfig       | 1 +
 2 files changed, 2 insertions(+)
extra/Configs/defconfigs/arc/arcv2_defconfig +1 -0
index 2d12358..383861f 100644
@@ -2,6 +2,7 @@ CONFIG_ARC_CPU_HS=y
 ARCH_WANTS_LITTLE_ENDIAN=y
 # UCLIBC_HAS_FPU is not set
 DO_C99_MATH=y
+DO_XSI_MATH=y
 KERNEL_HEADERS="%KERNEL_HEADERS%"
 # DOPIC is not set
 # LDSO_CACHE_SUPPORT is not set
extra/Configs/defconfigs/arc/defconfig +1 -0
index f582eb5..d3773aa 100644
@@ -1,6 +1,7 @@
 ARCH_WANTS_LITTLE_ENDIAN=y
 # UCLIBC_HAS_FPU is not set
 DO_C99_MATH=y
+DO_XSI_MATH=y
 KERNEL_HEADERS="%KERNEL_HEADERS%"
 # DOPIC is not set
 # LDSO_CACHE_SUPPORT is not set
Signature · 1 line
2.7.4