https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Not all targets have a C99 math runtime. libgfortran configury tests for a load of C99 functions: # Check for C99 (and other IEEE) math functions GCC_CHECK_MATH_FUNC([acosf]) GCC_CHECK_MATH_FUNC([acos]) GCC_CHECK_MATH_FUNC([acosl]) GCC_CHECK_MATH_FUNC([acoshf]) ... but fails to check for fma[lf ] (I also don't see any uses of the HAVE_* macros defined but that's another issue.