Re: [Buildroot] [PATCH] package/uclibc: enable FENV support

Waldemar Brodkorb <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
Hi Thomas,
Thomas Petazzoni wrote,

> Hello,
> 
> On Sun, Aug 16, 2026 at 11:24:40AM +0200, Waldemar Brodkorb wrote:
> > Enable FENV support unconditionally when a hard-float toolchain is in use.
> > Useful for packages as quickjs and chawan.
> > Adds 24kb to the C library on aarch64.
> > 
> > Signed-off-by: Waldemar Brodkorb <[email protected]>
> 
> I am not 100% sure, but this seems to have broken the build of gcc
> 14.4.0 on x86 32-bit:
> 
>   https://autobuild.buildroot.net/?reason=host-gcc-final-14.4.0&libc=uclibc
> 
> Even though we've had gcc 14.4.0 for a while, this only started
> happening on August 16, first bad commit being 9ac19958, which is
> shortly after this fenv support in uClibc was enabled.
> 
> And the build failure clearly connects to fenv:
> 
> In file included from ../../../libquadmath/math/x2y2m1q.c:19:
> ../../../libquadmath/quadmath-imp.h:310:8: error: redefinition of 'struct rm_ctx'
>   310 | struct rm_ctx
>       |        ^~~~~~
> In file included from ../../../libquadmath/quadmath-imp.h:32:
> /home/autobuild/autobuild/instance-16/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/include/fenv.h:137:8: note: originally defined here
>   137 | struct rm_ctx
>       |        ^~~~~~
> 
> Could you have a look into this?

Yes, you are right. I always had libquadmath disabled in my
toolchains while testing. Fix sent to the BR mailinglist right now.

https://lists.buildroot.org/pipermail/buildroot/2026-August/807736.html

Thomas, are there any plans to update the Bootlin toolchains?

best regards
 Waldemar
_______________________________________________
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.