You are compiling in the source directory which is not a well
supported way of compiling GCC.
Yeah, but I wasn't and still ran into that (or similar) problem. :)
Anyway, this patch solves it:
Index: libgcc/configure.ac
===================================================================
--- libgcc/configure.ac (revision 124612)
+++ libgcc/configure.ac (working copy)
@@ -100,6 +100,7 @@ GCC_NO_EXECUTABLES
AC_PROG_CC
AC_PROG_CPP_WERROR
+GCC_HEADER_STDINT(gstdint.h)
+
# Check for decimal float support.
On the other hand, it looks to me that there is a more deep problem, in
that we were trying to use host include files to compile a target
library. I don't have time to investigate it now, though. If a
libdecnumber folk wants to comment here, [s]he's more than welcome.
I am not committing this until Monday.
Paolo