This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/16137] Fortran compiler unable to produce executables as libfortran depends on C99 math functions


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]