https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If so, then perhaps --- libquadmath/math/sqrtq.c.jj 2024-04-09 08:16:54.128737859 +0200 +++ libquadmath/math/sqrtq.c 2024-08-02 23:28:00.862495012 +0200 @@ -9,6 +9,9 @@ && defined(FE_TOWARDZERO) \ && defined(FE_INEXACT) #define USE_SOFT_FP 1 +#if defined(_ARCH_PPC) && !defined(__LONG_DOUBLE_IEEE128__) +#define TFtype __float128 +#endif #include "../../libgcc/soft-fp/soft-fp.h" #include "../../libgcc/soft-fp/quad.h" #endif would fix that.