http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571
--- Comment #2 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-02-01 15:08:13 UTC --- On Linux/Glibc libgfortran is built with _GNU_SOURCE, which according to the glibc manual is a superset of all kinds of _POSIX_C_SOURCE=[latest_supported_standard] XOPEN_SOURCE=[latest_supported_standard] and so forth. My guess is that the issue is due to mismatch between the build environment and the environment where gfortran is executed. It might be that the OP is running on some old distro that doesn't provide librt.so which is needed by clock_gettime() on Glibc. OP, what does "ldd /path/to/libgfortran.so.3" say? FWIW, I have no idea what "Patch 81226" refers to.