> No problem here x86_64-apple-darwin15 with a build using…
True, I didn’t realize libgomp is built… but the Fortran module files are not
installed in the right place.
$ ls /usr/local/gfortran/lib/**/libgomp.dylib
/usr/local/gfortran/lib/i386/libgomp.dylib
/usr/local/gfortran/lib/libgomp.dylib
$ ls /usr/local/gfortran/lib/**/omp_lib.mod
/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0/finclude/omp_lib.mod
It’s because the Makefile machinery is wrong. libgomp/Makefile.am has:
fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude
while the corresponding libgfortran has:
fincludedir =
$(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude
notice the extra $(MULTISUBDIR).
So this is apparently not a new bug
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670), but it probably should be
fixed.
FX