https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think it should be <ISO_Fortran_binding.h> . Anyway, at least on Fedora it fails because we install the ISO_Fortran_binding.h header not to /usr/include but to /usr/lib/gcc/<target>/<version>/include/ISO_Fortran_binding.h and so when using xgcc -B ... the just built compiler can't use the system compiler's version, which IMHO is the only reason why it could succeed for Sandra or anyone else. We need an -I ... option that will point the compiler to the libgfortran build directory (and do so correctly for the current multilib).