Re: [Buildroot] FENV support in uClibc-ng

Thomas Petazzoni via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <aoDBcJCg-X6TM7v1@windsurf>
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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.