This probably is a new version of PR41418 then. We have the problem that fortran is turned on in --enable-languages, so libgomp configure expects the fortran compiler to be available.
Does this fix it for you? Index: configure.ac =================================================================== --- configure.ac (revision 155240) +++ configure.ac (working copy) @@ -146,7 +146,11 @@ case `echo $GFORTRAN` in -* | no* ) FC=no ;; *) - FC="$GFORTRAN" ;; + if test -x "$GFORTRAN"; then + FC="$GFORTRAN" + else + FC=no + fi ;; esac AC_PROG_FC(gfortran) FCFLAGS="$FCFLAGS -Wall" (untested) Paolo