All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARC: Enable XSI math extensions in ARC defconfigs
@ 2017-02-28 18:55 Vlad Zakharov
  0 siblings, 0 replies; only message in thread
From: Vlad Zakharov @ 2017-02-28 18:55 UTC (permalink / raw)
  To: linux-snps-arc

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(+)

diff --git a/extra/Configs/defconfigs/arc/arcv2_defconfig b/extra/Configs/defconfigs/arc/arcv2_defconfig
index 2d12358..383861f 100644
--- a/extra/Configs/defconfigs/arc/arcv2_defconfig
+++ b/extra/Configs/defconfigs/arc/arcv2_defconfig
@@ -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
diff --git a/extra/Configs/defconfigs/arc/defconfig b/extra/Configs/defconfigs/arc/defconfig
index f582eb5..d3773aa 100644
--- a/extra/Configs/defconfigs/arc/defconfig
+++ b/extra/Configs/defconfigs/arc/defconfig
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-28 18:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-28 18:55 [PATCH] ARC: Enable XSI math extensions in ARC defconfigs Vlad Zakharov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.