This is the mail archive of the gcc@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]

Bootstrap error in snapshot gcc-20010402 on alphaev67-dec-osf5.1


Hi,

I tried to compile gcc-20010402 snapshot on alphaev67-dec-osf5.1.
Configure works fine but bootstrap fails.

I have attached the relevant messages from the output of the make (GNU
make) below.

-Himanshu Agrawal.

---MESSAGES--------------------------------------------------------------------

Bootstrapping the compiler
make[1]: Entering directory `/usr/user4/himanshu/gcc-compile/gcc'
make CC="cc" libdir=/usr/user4/himanshu/local/lib LANGUAGES="c "
make[2]: Entering directory `/usr/user4/himanshu/gcc-compile/gcc'
Expect 33 shift/reduce conflicts and 58 reduce/reduce conflicts.
cd ../../gcc-20010402/gcc/cp; bison  -d -o p$$.c parse.y ; \
grep '^#define[         ]*YYEMPTY' p$$.c >> p$$.h ; \
mv -f p$$.c parse.c ; mv -f p$$.h parse.h
parse.y contains 35 shift/reduce conflicts and 58 reduce/reduce
conflicts.
echo '/*WARNING: This file is automatically generated!*/'
>tmp-objc-prs.y
sed -e "/^ifc$/,/^end ifc$/d" \
  -e "/^ifobjc$/d" -e "/^end ifobjc$/d" \
  ../../gcc-20010402/gcc/c-parse.in >>tmp-objc-prs.y
/bin/sh ../../gcc-20010402/gcc/move-if-change tmp-objc-prs.y
../../gcc-20010402/gcc/objc/objc-parse.y
cd ../../gcc-20010402/gcc/objc; \
bison  -o op$$.c objc-parse.y ; \
mv -f op$$.c objc-parse.c
cc -c  -DIN_GCC    -g    -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../gcc-20010402/gcc -I../../gcc-20010402/gcc/.
-I../../gcc-20010402/gcc/config -I../../gcc-20010402/gcc/../include
../../gcc-20010402/gcc/gengenrtl.c
cc: Warning: ../../gcc-20010402/gcc/system.h, line 293: In this
declaration, parameter 1 has a different type than specified in an
earlier declaration of this function. (mismatparam)
extern PTR sbrk PARAMS ((int));
-----------^
cc: Error: ../../gcc-20010402/gcc/system.h, line 293: In this
declaration, the type of "sbrk" is not compatible with the type of a
previous declaration of "sbrk" at line number 657 in file
/usr/include/unistd.h. (notcompat)
extern PTR sbrk PARAMS ((int));
-----------^
cc: Warning: ../../gcc-20010402/gcc/system.h, line 341: In this
declaration, parameter 2 has a different type than specified in an
earlier declaration of this function. (mismatparam)
extern int setrlimit PARAMS ((int, const struct rlimit *));
-----------^
cc: Error: ../../gcc-20010402/gcc/system.h, line 341: In this
declaration, the type of "setrlimit" is not compatible with the type of
a previous declaration of "setrlimit" at line number 209 in file
/usr/include/sys/resource.h. (notcompat)
extern int setrlimit PARAMS ((int, const struct rlimit *));
-----------^
cc: Warning: ../../gcc-20010402/gcc/../include/libiberty.h, line 52: In
this declaration, parameter 1 has a different type than specified in an
earlier declaration of this function. (mismatparam)
extern char *basename PARAMS ((const char *));
-------------^
cc: Error: ../../gcc-20010402/gcc/../include/libiberty.h, line 52: In
this declaration, the type of "basename" is not compatible with the type
of a previous declaration of "basename" at line number 163 in file
/usr/include/string.h. (notcompat)
extern char *basename PARAMS ((const char *));
-------------^
cc: Error: ../../gcc-20010402/gcc/system.h, line 561: In this
declaration, "char" cannot be combined with "_Bool". (typeconflict)
typedef char _Bool;
-------------^
make[2]: *** [gengenrtl.o] Error 1
make[2]: Leaving directory `/usr/user4/himanshu/gcc-compile/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/user4/himanshu/gcc-compile/gcc'
make: *** [bootstrap] Error 2


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