This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc won't compile from cvs on sparc
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc won't compile from cvs on sparc
- From: Loring Holden <lsh at cs dot brown dot edu>
- Date: Fri, 20 Aug 1999 06:12:51 -0400 (EDT)
I can't compile egcs from cvs sources (as of 10:45 EDT Aug 19) on sparc.
The compilation of cc1 dies with:
Undefined first referenced
symbol in file
emit_float_lib_cmp insn-emit.o
It seems as if insn-emit.o is created from gcc/config/sparc/sparc.md, which
still references emit_float_lib_cmp, even though gcc/ChangeLog says:
Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
[..]
* optabs.c
[...]
(prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
parameters to be pointers; don't emit final compare but modify some of
the values pointed to by the args so the caller can perform the
correct comparison.
[...]
So it seems as if egcs won't build on sparc until sparc.md has been changed to
use prepare_float_lib_cmp() instead of emit_float_lib_cmp() and
gcc/optabs.c has been changed to make prepare_float_lib_cmp() non-static.
I have a patch, but it just uses dummy parameters for the new parameters in
prepare_float_lib_cmp() (there should be a better way), so I won't send the
patch unless it is requested.
Loring