[gfortran] I/O of large integer and real kinds
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue Jun 7 23:28:00 GMT 2005
On Tue, Jun 07, 2005 at 10:51:44PM +0200, FX Coudert wrote:
> >I'm getting a boat load of errors on amd64-*-freebsd when
> >I run "gmake check-gfortran". The log file shows
> >
> >/usr/home/sgk/gcc/obj41/amd64-unknown-freebsd6.0/./libgfortran/.libs/libgfortran
> >.so: undefined reference to `__log10l'
> >collect2: ld returned 1 exit status
>
> Can you tell me what the config.h file of your libgfortran build
> directory says about HAVE_LOG10L (is it defined or not?)
>
/* libm includes log10f */
#define HAVE_LOG10F 1
/* libm includes log10l */
/* #undef HAVE_LOG10L */
/* libsunmath includes log10l */
/* #undef HAVE_LOG10L_IN_LIBSUNMATH */
/* libm includes logf */
#define HAVE_LOGF 1
The above looks correct because log10l is not currently in libm.
FreeBSD does not use glibc. I'm guessing that __log10l is
suppose to be a builtin function, but I haven't gone looking.
--
Steve
More information about the Fortran
mailing list