This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ss2001/01/01 bootstrap failure on Sun Solaris 5.7 (Sparc) -- wrongREGISTER_MOVE_COST taken
- To: gcc-bugs at gcc dot gnu dot org
- Subject: ss2001/01/01 bootstrap failure on Sun Solaris 5.7 (Sparc) -- wrongREGISTER_MOVE_COST taken
- From: Wolfgang Bangerth <Wolfgang dot Bangerth at IWR dot Uni-Heidelberg dot De>
- Date: Mon, 8 Jan 2001 16:18:42 +0100 (MET)
Bootstrapping fails for me on
gcc/bin> uname -a
SunOS atlas 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-4
after
gcc/bin> ../gcc-20010101/configure --prefix=/home/people/wolf/Config/gcc-20000101
and
gcc/bin> make bootstrap
here:
gcc -c -DIN_GCC -DSVR4 -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc-20010101/gcc
-I../../gcc-20010101/gcc/. -I../../gcc-20010101/gcc/config
-I../../gcc-20010101/gcc/../include ../../gcc-20010101/gcc/regclass.c
-o regclass.o
../../gcc-20010101/gcc/regclass.c:432: macro `REGISTER_MOVE_COST' used with only 2 args
<6 further equivalent errors deleted>
make[1]: *** [regclass.o] Error 1
The reason is that the three-arg definition of REGISTER_MOVE_COST from
gcc/config/sparc/sparc.h is taken, but the two-arg version (presumably the
one defined at line 45 of the file is meant) is used.
sparc.h is included
from ../../gcc-20010101/gcc/config/sparc/sysv4.h:23,
from ../../gcc-20010101/gcc/config/sparc/sol2.h:24,
from ../../gcc-20010101/gcc/config/sparc/sol2-sld.h:4,
from tm.h:10,
from ../../gcc-20010101/gcc/config/sparc/xm-sysv4.h:40,
from config.h:7,
from ../../gcc-20010101/gcc/regclass.c:27
If I can be of any help to find the problem, please do not hesitate to
contact me.
Best regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: wolfgang.bangerth@iwr.uni-heidelberg.de
www: http://gaia.iwr.uni-heidelberg.de/~wolf