* [Buildroot] FENV support in uClibc-ng
@ 2026-08-15 7:39 Waldemar Brodkorb
2026-08-15 19:45 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2026-08-15 7:39 UTC (permalink / raw)
To: buildroot
Dear Buildroot maintainers and developers,
I am planning to submit a new package for chawan, a
nice TUI browser. It has JS support and needs FENV support in
the C library. Can we globally enable FENV support in
uClibc-ng? I measured the size for a default aarch64
build with and without FENV support enabled.
With FENV support enabled:
608992 Aug 15 09:07 libuClibc-1.0.59.so
Without FENV support enabled:
584416 Aug 15 09:24 libuClibc-1.0.59.so
Should we add another option for 24kb?
uClibc-ng also gained support for uchar functions a while back.
tpm2-tools needs it. It adds approx. 5kb to the C library.
What should we do here? Enable uchar automatically, when wchar is enabled?
Or is there another better solution I am not seeing?
I would like to support more packages by default for uClibc-ng users.
What you think?
best regards
Waldemar
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Buildroot] FENV support in uClibc-ng
2026-08-15 7:39 [Buildroot] FENV support in uClibc-ng Waldemar Brodkorb
@ 2026-08-15 19:45 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-08-15 19:45 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
Hello Waldemar,
On Sat, Aug 15, 2026 at 09:39:04AM +0200, Waldemar Brodkorb wrote:
> Dear Buildroot maintainers and developers,
>
> I am planning to submit a new package for chawan, a
> nice TUI browser. It has JS support and needs FENV support in
> the C library. Can we globally enable FENV support in
> uClibc-ng? I measured the size for a default aarch64
> build with and without FENV support enabled.
>
> With FENV support enabled:
> 608992 Aug 15 09:07 libuClibc-1.0.59.so
>
> Without FENV support enabled:
> 584416 Aug 15 09:24 libuClibc-1.0.59.so
>
> Should we add another option for 24kb?
No, just enable it unconditionally.
There's a number of packages that are currently disabled on uClibc
because it lacked fenv support.
> uClibc-ng also gained support for uchar functions a while back.
> tpm2-tools needs it. It adds approx. 5kb to the C library.
> What should we do here? Enable uchar automatically, when wchar is enabled?
Yes, enable uchar when wchar is enabled seems like a good idea.
Thomas
--
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-08-15 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15 7:39 [Buildroot] FENV support in uClibc-ng Waldemar Brodkorb
2026-08-15 19:45 ` 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