https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78478
Joel Sherrill <joel at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |i386-rtems4.12 Known to work| |6.2.1 Version|unknown |7.0 --- Comment #1 from Joel Sherrill <joel at gcc dot gnu.org> --- This error did not exist in "6.2.1 20161110" $ ./gcc/xgcc --version xgcc (GCC) 7.0.0 20161121 (experimental) This patch allowed the build to continue: diff --git a/libgcc/soft-fp/extended.h b/libgcc/soft-fp/extended.h index 7b19e83..6c7396d 100644 --- a/libgcc/soft-fp/extended.h +++ b/libgcc/soft-fp/extended.h @@ -66,7 +66,11 @@ #define _FP_HIGHBIT_DW_E \ ((_FP_W_TYPE) 1 << (_FP_WFRACBITS_DW_E - 1) % _FP_W_TYPE_SIZE) +#ifdef _SOFT_FLOAT +typedef float XFtype; +#else typedef float XFtype __attribute__ ((mode (XF))); +#endif #if _FP_W_TYPE_SIZE < 64