segfault within CPU_TIME (was: libgfortran/intrinsics/cpu_time.c: No such file or directory.)
François-Xavier Coudert
fxcoudert@gmail.com
Tue Aug 21 19:00:00 GMT 2007
Hi Florian,
> Program received signal SIGFPE, Arithmetic exception.
> 0x08269919 in *_gfortrani_cpu_time_4 (time=0x1b3fe1c4) at
> /home/fx/gfortran_nightbuild/trunk/libgfortran/intrinsics/cpu_time.c:161
> 161
> /home/fx/gfortran_nightbuild/trunk/libgfortran/intrinsics/cpu_time.c: No
> such file or directory.
> in
> /home/fx/gfortran_nightbuild/trunk/libgfortran/intrinsics/cpu_time.c
This error message you're seeing (about missing
/home/fx/gfortran_nightbuild/trunk/libgfortran/intrinsics/cpu_time.c)
is just the debugger telling that since you don't have the GCC
sources, it can't actually show you the source relevant to this error.
It's not the reason for the segfault at all.
As to the source of the error, are you by any chance using
-ffpe-trap=precision or another -ffpe-trap option? Otherwise, we'd
need at least to know you compilation options exactly.
FX
More information about the Fortran
mailing list