mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-12 11:51:46 -09:00
PowerPC64/musl toolchains currently fail to build with:
In file included from ../../../libquadmath/math/sqrtq.c:13:
../../../libquadmath/math/../../libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'
69 | typedef float TFtype __attribute__ ((mode (TF)));
| ^~~~~~~
make[4]: *** [Makefile:979: math/sqrtq.lo] Error 1
This issue has been reported upstream as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007, and has been
fixed as
https://gcc.gnu.org/g:3ac02e67503ccffa3dfeeffc0a60fce6bdaca43b.
This commit simply backports the upstream GCC fix. This issue was new
with GCC 14.x, so only GCC 14.x needs to be fixed.
Fixes:
http://autobuild.buildroot.org/results/529bec7ef338842030d3340d9b21d8fd16d8639d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>