Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/quickjs: enable uClibc support
@ 2026-10-09  7:56 Waldemar Brodkorb
  2026-10-10  6:54 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2026-10-09  7:56 UTC (permalink / raw)
  To: buildroot

The internal Buildroot toolchain does support FENV
in uClibc since commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6.
Tested in Qemu system emulation for aarch64.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/quickjs/Config.in | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/quickjs/Config.in b/package/quickjs/Config.in
index 0ae0389b2e..99f1c66be5 100644
--- a/package/quickjs/Config.in
+++ b/package/quickjs/Config.in
@@ -3,8 +3,6 @@ config BR2_PACKAGE_QUICKJS
 	depends on !BR2_microblaze # fenv.h lacks FE_{DOWN,UP}WARD
 	depends on !BR2_sh # fenv.h lacks FE_{DOWN,UP}WARD
 	depends on !BR2_STATIC_LIBS
-	# No way to check for fenv support.
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
 	depends on BR2_HOST_GCC_AT_LEAST_4_9 # C11/stdatomic.h
 	depends on BR2_USE_MMU # fork()
@@ -15,9 +13,9 @@ config BR2_PACKAGE_QUICKJS
 
 	  https://bellard.org/quickjs/
 
-comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library"
+comment "quickjs needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library"
 	depends on !BR2_microblaze
 	depends on !BR2_sh
 	depends on BR2_USE_MMU
-	depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \
+	depends on BR2_STATIC_LIBS || \
 		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_4_9
-- 
2.47.3

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

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

* Re: [Buildroot] [PATCH] package/quickjs: enable uClibc support
  2026-10-09  7:56 [Buildroot] [PATCH] package/quickjs: enable uClibc support Waldemar Brodkorb
@ 2026-10-10  6:54 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-10  6:54 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

On Fri, Oct 09, 2026 at 09:56:22AM +0200, Waldemar Brodkorb wrote:
> The internal Buildroot toolchain does support FENV
> in uClibc since commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6.
> Tested in Qemu system emulation for aarch64.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-10-13 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09  7:56 [Buildroot] [PATCH] package/quickjs: enable uClibc support Waldemar Brodkorb
2026-10-10  6:54 ` Thomas Petazzoni via buildroot

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