This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/16137] Fortran compiler unable to produce executables as libfortran depends on C99 math functions
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2004 12:19:29 -0000
- Subject: [Bug libfortran/16137] Fortran compiler unable to produce executables as libfortran depends on C99 math functions
- References: <20040622111044.16137.ebotcazou@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-06-23 12:19 -------
Subject: Re: New: Fortran compiler unable to produce executables
"ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> Every testcase in gfortran.fortran-torture/execute fails to link with:
>
> Undefined first referenced
> symbol in file
> expf
> /opt/build/eric/gcc/sparc-sun-solaris2.8/./libgfortran/.libs/libgfortran.so
[...]
I already mentioned this in
http://gcc.gnu.org/ml/fortran/2004-05/msg00259.html
but failed to provide a proper bug report due to many other problems with
libgfortran on all of my platforms.
> I guess something along the lines of libstdc++-v3/linkage.m4 would be needed.
Certainly: libgfortran cannot unconditionally assume the presence of a ISO
C99 C library, or else it would be useless with all but recent versions of
glibc.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16137