[COMMITTED] powerpc: Fix powerpc64le due a7a3435c9a

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Jun 4 12:06:33 GMT 2020


The build uses an undefined macro evaluation for fmaf128 build.
For now set USE_FMAL_BUILTIN and USE_FMAF128_BUILTIN to 0.

Checked with a build for:

  powerpc64le-linux-gnu-power9-disable-multi-arch
  powerpc64le-linux-gnu-power9
  powerpc64le-linux-gnu
  powerpc64-linux-gnu-power8
  powerpc64-linux-gnu
  powerpc-linux-gnu-power4
  powerpc-linux-gnu
---
 sysdeps/powerpc/fpu/math-use-builtins.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysdeps/powerpc/fpu/math-use-builtins.h b/sysdeps/powerpc/fpu/math-use-builtins.h
index 4780934379..957216a191 100644
--- a/sysdeps/powerpc/fpu/math-use-builtins.h
+++ b/sysdeps/powerpc/fpu/math-use-builtins.h
@@ -65,5 +65,7 @@
 
 #define USE_FMA_BUILTIN 1
 #define USE_FMAF_BUILTIN 1
+#define USE_FMAL_BUILTIN 0
+#define USE_FMAF128_BUILTIN 0
 
 #endif
-- 
2.25.1



More information about the Libc-alpha mailing list