All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] arch/Config.in.arc: clarify float configuration
@ 2026-08-24 19:34 Waldemar Brodkorb
  0 siblings, 0 replies; only message in thread
From: Waldemar Brodkorb @ 2026-08-24 19:34 UTC (permalink / raw)
  To: buildroot

Select soft-float configurations where appropriate,
checked with all selectable CPU's and uClibc-ng toolchains.

uClibc-ng enabled FENV support for hard-float toolchains
unconditionally in commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6.

Glibc has a preconfigure script to check if the toolchain is a
soft-float toolchain.

Fixes:
 - https://autobuild.buildroot.org/results/d0e735bcd9de979ab74df0c2f5229f7534d1539a

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 arch/Config.in.arc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/Config.in.arc b/arch/Config.in.arc
index f250ae5eeb..8fac281045 100644
--- a/arch/Config.in.arc
+++ b/arch/Config.in.arc
@@ -7,12 +7,15 @@ choice
 
 config BR2_arc750d
 	bool "ARC 750D"
+	select BR2_SOFT_FLOAT
 
 config BR2_arc770d
 	bool "ARC 770D"
+	select BR2_SOFT_FLOAT
 
 config BR2_archs38
 	bool "ARC HS38"
+	select BR2_SOFT_FLOAT
 	help
 	  Generic ARC HS capable of running Linux, i.e. with MMU,
 	  caches and 32-bit multiplier. Also it corresponds to the
@@ -20,6 +23,7 @@ config BR2_archs38
 
 config BR2_archs38_64mpy
 	bool "ARC HS38 with 64-bit mpy"
+	select BR2_SOFT_FLOAT
 	help
 	  Fully featured ARC HS capable of running Linux, i.e. with
 	  MMU, caches and 64-bit multiplier.
@@ -39,15 +43,17 @@ config BR2_archs38_full
 
 config BR2_archs4x_rel31
 	bool "ARC HS48 rel 31"
+	select BR2_SOFT_FLOAT
 	help
 	  Build for HS48 release 3.1
 
 config BR2_archs4x
 	bool "ARC HS48"
+	select BR2_SOFT_FLOAT
 	help
 	  Latest release of HS48 processor
 	   - Dual and Quad multiply and MAC operations
-	   - Double-precision FPU
+	   - Double-precision FPU (optional)
 
 endchoice
 
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

only message in thread, other threads:[~2026-08-24 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24 19:34 [Buildroot] [PATCH] arch/Config.in.arc: clarify float configuration Waldemar Brodkorb

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.