This is the mail archive of the
mailing list for the GCC project.
Re: [gfortran] I/O of large integer and real kinds
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
> >.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.