https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61359
John David Anglin <danglin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danglin at gcc dot gnu.org --- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> --- What is your bootstrap compiler? Check build log as to why UINT64_C is not defined? GCC provides include fixes and <stdint.h>, etc. So, the error you mention should not occur when building with recent GCC version. Try building just C and C++. Disable libquadmath build until you have working GCC compiler (I would say 4.7 or later).