https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83436
--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Mon, Dec 18, 2017 at 08:00:57PM +0000, daanvanvugt at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83436 > > --- Comment #7 from Daan van Vugt <daanvanvugt at gmail dot com> --- > (In reply to kargl from comment #6) > > That is not gfortran. What happens if (1) you remove all of the > > options and (2) you actually invoke gfortran? > > gfortran -g read_urandom.f90 -o read_urandom > > ./read_urandom > At line 16 of file read_urandom.f90 > Fortran runtime error: Internal file cannot be accessed by UNFORMATTED data > transfer > [backtrace] > > gfortran --version > GNU Fortran (GCC) 7.2.1 20171128 > Thanks. Can you add the -v option to the above command line and report the output (up to the ld line)? Do you have more than one version of gfortran installed?