[libc-commits] [libc] fix ppc64le builds without IEEE double long (PR #184995)
via libc-commits
libc-commits at lists.llvm.org
Sat Mar 7 08:26:35 PST 2026
================
@@ -36,6 +36,7 @@
#define LIBC_COPT_PRINTF_DISABLE_WRITE_INT
#define LIBC_COPT_PRINTF_DISABLE_INDEX_MODE
#define LIBC_COPT_PRINTF_DISABLE_STRERROR
+#define LIBC_COPT_PRINTF_DISABLE_FLOAT
----------------
Fabian-Gruenbichler wrote:
yes, this is to bypass it on PPC. the printf conversion functions don't work (at the moment) for IBM long double. if it is possible to fix them up using similar uint128 shenanigans that might be an option, but I am out of my depth.
would making this define conditionalized on IBM long double be acceptable? I assume a limited build is preferable to no build at all ;)
https://github.com/llvm/llvm-project/pull/184995
More information about the libc-commits
mailing list