<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">So GCC had this header in 2013 (<a href="https://gcc.gnu.org/viewcvs/gcc/branches/fortran-dev/libgfortran/ISO_Fortran_binding.h.tmpl?&view=markup#l1">https://gcc.gnu.org/viewcvs/gcc/branches/fortran-dev/libgfortran/ISO_Fortran_binding.h.tmpl?&view=markup#l1</a>) but it does not appear anywhere in the latest GCC source or install.<br><br>/opt/gcc$ find git HEAD -name ISO_Fortran_binding.h | echo MISSING<br>MISSING<br><br>Jeff<br><br>On Thu, Mar 15, 2018 at 3:24 PM, Jeff Hammond <<a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a>> wrote:<br>><br>> This is the MPICH configure error:<br>><br>> configure:44317: gcc-8 -c    -O2   -I/home/jrhammon/Work/MPI/MPICH/git/build/src/mpl/include -I/home/jrhammon/Work/MPI/MPICH/git/src/mpl/include -I/home/jrhammon/Work/MPI/MPICH/git/src/openpa/src -I/home/jrhammon/Work/MPI/MPICH/git/build/src/openpa/src -D_REENTRANT -I/home/jrhammon/Work/MPI/MPICH/git/build/src/mpi/romio/include conftest.c >&5<br>> conftest.c:155:10: fatal error: ISO_Fortran_binding.h: No such file or directory<br>>  #include <ISO_Fortran_binding.h><br>>           ^~~~~~~~~~~~~~~~~~~~~~~<br>><br>> It has a trivial reproducer:<br>><br>> $ cat mcve.c<br>> #include <ISO_Fortran_binding.h><br>><br>> int main()<br>> {<br>>     return 0;<br>> }<br>><br>> $ gcc-8 -c mcve.c<br>> mcve.c:1:10: fatal error: ISO_Fortran_binding.h: No such file or directory<br>>  #include <ISO_Fortran_binding.h><br>>           ^~~~~~~~~~~~~~~~~~~~~~~<br>> compilation terminated.<br>><br>> Relevant GCC content:<br>><br>> <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=48820">https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=48820</a><br>> <a href="https://gcc.gnu.org/ml/fortran/2012-07/msg00115.html">https://gcc.gnu.org/ml/fortran/2012-07/msg00115.html</a><br>><br>> I don't understand why GCC hasn't implemented this header in the 5+ years that they've known that MPI needs it.<br>><br>> Jeff<br>><br>> On Thu, Mar 15, 2018 at 1:52 PM, Damian Rouson <<a href="mailto:damian@sourceryinstitute.org">damian@sourceryinstitute.org</a>> wrote:<br>>><br>>> On March 15, 2018 at 1:05:34 PM, Kenneth Raffenetti (<a href="mailto:raffenet@mcs.anl.gov">raffenet@mcs.anl.gov</a>) wrote:<br>>><br>>> F08 bindings will build if they pass the included compiler tests during <br>>> configure. Unfortunately gfortran is unable to build the binding. <br>>><br>>> Thanks for the quick reply.  Is there a GCC bug report that demonstrates the issue?  The gfortran trunk now supports most of the required Fortran 2008 + TS29113 features so I’d like to see what’s missing and add myself to the cc list on the bug report.<br>>><br>>> The <br>>> latest Intel compiler suite will work, if you have access to that. <br>>><br>>> Thanks.  I do.<br>>><br>>> Damian<br>>><br>>><br>>> _______________________________________________<br>>> discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>>> To manage subscription options or unsubscribe:<br>>> <a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a><br>><br>><br>><br>><br>> --<br>> Jeff Hammond<br>> <a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br>> <a href="http://jeffhammond.github.io/">http://jeffhammond.github.io/</a><br><br><br><br><br>--<br>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/">http://jeffhammond.github.io/</a><br><div><div class="gmail_extra">
</div></div></div>