Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/uclibc: Prevent config with unsupported RISC-V float ABI
@ 2022-06-14 17:10 Ben Hutchings
  2022-07-17 17:44 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Hutchings @ 2022-06-14 17:10 UTC (permalink / raw)
  To: buildroot; +Cc: Ben Hutchings

uClibc currently supports RISC-V with a soft-float or 64-bit
hard-float ABI, but not 32-bit hard-float.  Selecting
BR2_RISCV_ABI_LP64F results in a build failure:

./include/sys/asm.h:42:4: error: #error unsupported FLEN
   42 | #  error unsupported FLEN
      |    ^~~~~

Change the conditions for BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS
accordingly.

Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
---
 package/uclibc/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 754c3ea014..221aa18a80 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -15,7 +15,7 @@ config BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS
 	default y if BR2_mips64el
 	default y if BR2_or1k
 	default y if BR2_powerpc
-	default y if BR2_RISCV_64
+	default y if BR2_RISCV_64 && !BR2_RISCV_ABI_LP64F
 	default y if BR2_sh4
 	default y if BR2_sh4eb
 	default y if BR2_sparc
-- 
2.30.2

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-10 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-14 17:10 [Buildroot] [PATCH] package/uclibc: Prevent config with unsupported RISC-V float ABI Ben Hutchings
2022-07-17 17:44 ` Thomas Petazzoni via buildroot
2022-08-10 12:39   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox