From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Waldemar Brodkorb <wbx@openadk.org>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/uclibc: enable FENV support
Date: Tue, 18 Aug 2026 09:25:42 +0200 [thread overview]
Message-ID: <aoQIk-X_afYgeQQN@windsurf> (raw)
In-Reply-To: <aoGB2EKYfAEH5N8t@waldemar-brodkorb.de>
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 <wbx@openadk.org>
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?
Thanks!
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
prev parent reply other threads:[~2026-08-18 7:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-16 9:24 [Buildroot] [PATCH] package/uclibc: enable FENV support Waldemar Brodkorb
2026-08-16 11:37 ` Julien Olivain via buildroot
2026-08-18 7:25 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aoQIk-X_afYgeQQN@windsurf \
--to=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=wbx@openadk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.