Compile problem with GCC2.95.2 on DECALPHA,TRUE64V5.0
Lothar Wolf
syz@ecmwf.int
Mon Jun 26 03:16:00 GMT 2000
Andrew Hobson wrote:
>
> On Fri, 23 Jun 2000 14:39:39 +0100, Lothar Wolf <syz@ecmwf.int> said:
>
> > we have one DEC-Alpha running Compaq TRUE64 V5.0 and GCC2.95.2.
> > We are using this machine as a reference machine for the distribution
> > of our graphic software for customers with similar architecture.
>
> > To be able to compile version 2.95.2 I included the following patches
> > that
> > I got as a reply from one of your developers.
> > http://ahobson.home.mindspring.com/osf5.0/gcc-2.95.2-osf5.0.diff
>
> Actually, I'm not a gcc developer. It turns out that the patch does
> enable you to compile gcc, but it's not fully functional.
>
> Check out the following messages.
>
> http://gcc.gnu.org/ml/gcc-patches/1999-08/msg00394.html
>
> http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00795.html
>
> http://gcc.gnu.org/ml/gcc-bugs/1999-12/msg00026.html
>
> It's been fixed in the development branch, so you could try a
> snapshot.
>
> ftp://gcc.gnu.org/pub/gcc/snapshots/index.html
>
> Drew
Drew,
I downloaded the most recent snapshot and run
./configure --enable-languages=c++
then using the native compiler
make bootstrap LANGUAGES=c++
I got an error inbetween asking for a "proper version of autogen" that I
installed (autogen-4.5.8)
then did make bootstrap LANGUAGES=c++ again
and got the following error:
cc -DIN_GCC -g -DHAVE_CONFIG_H -o g++ gcc.o g++spec.o intl.o
prefix.o version.o obstack.o ./intl/libintl.a -lmld -lexc
../libiberty/libiberty.a
if [ -f specs.ready ] ; then true; else touch specs.ready; fi
MAKE="make"; srcdir=`cd ./fixinc; pwd` ; export MAKE srcdir ; cd
./fixinc; /bin/sh ${srcdir}/mkfixinc.sh alpha-dec-osf5.0
constructing ../fixinc.sh for alpha-dec-osf5.0
make SHELL="/bin/sh" install-bin
/bin/sh ./genfixes machname.h
Forbidden identifiers: LANGUAGE_ASSEMBLY LANGUAGE_C SYSTYPE_BSD unix
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config -I./../../include
fixincl.c
cc: Error: fixincl.c, line 384: In the initializer for p_fixd,
"fixDescList" is not declared. (undeclared)
tFixDesc *p_fixd = fixDescList;
---------------------^
cc: Error: fixincl.c, line 385: In the initializer for fix_ct,
"FIX_COUNT" is not declared. (undeclared)
int fix_ct = FIX_COUNT;
---------------^
cc: Error: fixincl.c, line 389: In the initializer for p_re,
"REGEX_COUNT" is not declared. (undeclared)
regex_t *p_re = (regex_t *) malloc (REGEX_COUNT * sizeof (regex_t));
--------------------------------------^
cc: Error: fixincl.c, line 436: In the declaration of "cmd_buf",
"MACH_LIST_SIZE_LIMIT" is not declared. (undeclared)
char cmd_buf[ MACH_LIST_SIZE_LIMIT ]; /* size lim from
fixincl.tpl */
------------------------^
cc: Error: fixincl.c, line 1163: In the initializer for p_fixd,
"fixDescList" is not declared. (undeclared)
tFixDesc *p_fixd = fixDescList;
---------------------^
cc: Error: fixincl.c, line 1164: In the initializer for todo_ct,
"FIX_COUNT" is not declared. (undeclared)
int todo_ct = FIX_COUNT;
----------------^
*** Exit 1
Stop.
Am I doing something wrong here?? --> Forbidden identifiers: ......
Lothar
--
Lothar Wolf, Servers and Desktops Section
European Centre for Medium-Range Weather Forecasts (ECMWF)
Shinfield Park, Reading, Berkshire, RG2 9AX, UK ( http://www.ecmwf.int )
Email: Lothar.Wolf@ecmwf.int Telephone: (UK 0044) (0)118 9499-368
More information about the Gcc-bugs
mailing list