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]

gcc 3.0 release fail to bootstrap on i586-ncr-sysv4.3.03



Hi,
   I'm using gcc 2.95.3, binutils 2.10, GNU make 3.79.1 to bootstrap gcc
3.0 (using make bootstrap-lean) and the following error reported:

<...>
/usr/local/bin/make GCC_FOR_TARGET="./xgcc -B./
-B/usr/local/i586-ncr-sysv4.3.03/bin/ -isystem
/usr/local/i586-ncr-sysv4.3.03/include" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  AR_FOR_TARGET="` if [ -f /usr1/gcc-3.0/gcc/../binutils/ar ] ; then
echo /usr1/gcc-3.0/gcc/../binutils/ar ; else if [ "i586-ncr-sysv4.3.03"
= "i586-ncr-sysv4.3.03" ] ; then echo ar; else
t='s,^,i586-ncr-sysv4.3.03-,'; echo ar | sed -e $t ; fi; fi`" \
  AR_CREATE_FOR_TARGET="` if [ -f /usr1/gcc-3.0/gcc/../binutils/ar ] ;
then echo /usr1/gcc-3.0/gcc/../binutils/ar ; else if [
"i586-ncr-sysv4.3.03" = "i586-ncr-sysv4.3.03" ] ; then echo ar; else
t='s,^,i586-ncr-sysv4.3.03-,'; echo ar | sed -e $t ; fi; fi`  rc" \
  AR_FLAGS_FOR_TARGET="" \
  OLDCC="cc" CCLIBFLAGS="" \
  CFLAGS="-g  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="` if [ -f /usr1/gcc-3.0/gcc/../binutils/ranlib ] ;
then echo /usr1/gcc-3.0/gcc/../binutils/ranlib ; else if [
"i586-ncr-sysv4.3.03" = "i586-ncr-sysv4.3.03" ] ; then echo ranlib; else
t='s,^,i586-ncr-sysv4.3.03-,'; echo ranlib | sed -e $t ; fi; fi`" \
  RANLIB_TEST_FOR_TARGET="[ -f ` if [ -f
/usr1/gcc-3.0/gcc/../binutils/ranlib ] ; then echo
/usr1/gcc-3.0/gcc/../binutils/ranlib ; else if [ "i586-ncr-sysv4.3.03" =
"i586-ncr-sysv4.3.03" ] ; then echo ranlib; else
t='s,^,i586-ncr-sysv4.3.03-,'; echo ranlib | sed -e $t ; fi; fi` ] || (
[ "i586-ncr-sysv4.3.03" = "i586-ncr-sysv4.3.03" ] && [ -f
/usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="` if [ -f /usr1/gcc-3.0/gcc/../binutils/nm ] ; then
echo /usr1/gcc-3.0/gcc/../binutils/nm ; else if [ "i586-ncr-sysv4.3.03"
= "i586-ncr-sysv4.3.03" ] ; then echo nm; else
t='s,^,i586-ncr-sysv4.3.03-,'; echo nm | sed -e $t ; fi; fi`" AWK="nawk"
\
  LIBGCC2_CFLAGS="-O2   -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
  INCLUDES="-I. -I. -I. -I./. -I./config -I./../include"
MAYBE_USE_COLLECT2="" \
  CONFIG_H="tconfig.h  insn-codes.h insn-flags.h" MACHMODE_H="machmode.h
machmode.def" \
  LIB1ASMSRC='' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[3]: Entering directory `/usr1/gcc-3.0/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
cc -DIN_LIBGCC1  -I. -I. -I. -I./. -I./config -I./../include -DL_mulsi3
-c ./libgcc1.c -o libgcc/_mulsi3.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-98, NCR Corporation
(c) Copyright 1987-98, MetaWare Incorporated

E "machmode.h",L124/C40:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '<IDENTIFIER>':PARAMS@"machmode.h",L124/C40 through
'unsigned'@"machmode.h",L124/C49 was replaced with '('

E "machmode.h",L125/C28:	(syntactic)  unexpected symbol:')'
REPAIR:   ';' replaces ')'@"machmode.h",L125/C28

E "machmode.h",L130/C5:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '<IDENTIFIER>':PARAMS@"machmode.h",L130/C5 through
'unsigned'@"machmode.h",L130/C14 was replaced with '('

E "machmode.h",L130/C44:	(syntactic)  unexpected symbol:')'
REPAIR:   ';' replaces ')'@"machmode.h",L130/C44

E "machmode.h",L136/C44:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"machmode.h",L136/C44

E "machmode.h",L136/C71:	(syntactic)  unexpected symbol:')'
REPAIR:   '<CHAR>':Default_returned_by_error_recovery was inserted
before ')'@"machmode.h",L136/C71

E "machmode.h",L140/C40:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"machmode.h",L140/C40

E "machmode.h",L140/C52:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"machmode.h",L140/C49 through
','@"machmode.h",L140/C52 was replaced with '_New'

E "machmode.h",L140/C59:	(syntactic)  unexpected symbol:'unsigned'
REPAIR:   '_New' was inserted before 'unsigned'@"machmode.h",L140/C59

E "machmode.h",L141/C7:	(syntactic)  unexpected symbol:'enum'
REPAIR:   '_New' was inserted before 'enum'@"machmode.h",L141/C7

E "machmode.h",L141/C26:	(syntactic)  unexpected symbol:'int'
REPAIR:   '_New' was inserted before 'int'@"machmode.h",L141/C26

E "machmode.h",L145/C36:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"machmode.h",L145/C36

E "machmode.h",L145/C63:	(syntactic)  unexpected symbol:')'
REPAIR:   '<CHAR>':Default_returned_by_error_recovery was inserted
before ')'@"machmode.h",L145/C63

E "insn-codes.h",L428/C32:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"insn-codes.h",L428/C32

E "insn-codes.h",L428/C57:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"insn-codes.h",L428/C41 through
','@"insn-codes.h",L428/C57 was replaced with '_New'

E "insn-codes.h",L429/C29:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"insn-codes.h",L429/C29

E "insn-codes.h",L429/C54:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"insn-codes.h",L429/C38 through
','@"insn-codes.h",L429/C54 was replaced with '_New'

E "insn-codes.h",L430/C28:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"insn-codes.h",L430/C28

E "insn-codes.h",L430/C53:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"insn-codes.h",L430/C37 through
','@"insn-codes.h",L430/C53 was replaced with '_New'

E "insn-codes.h",L431/C33:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"insn-codes.h",L431/C33

E "insn-codes.h",L431/C58:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"insn-codes.h",L431/C42 through
','@"insn-codes.h",L431/C58 was replaced with '_New'

E "insn-codes.h",L432/C30:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"insn-codes.h",L432/C30

E "insn-codes.h",L432/C55:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"insn-codes.h",L432/C39 through
','@"insn-codes.h",L432/C55 was replaced with '_New'

E "insn-codes.h",L433/C42:	(syntactic)  unexpected
symbol:'<IDENTIFIER>':PARAMS
REPAIR:   '=' was inserted before
'<IDENTIFIER>':PARAMS@"insn-codes.h",L433/C42

E "insn-codes.h",L433/C67:	(syntactic)  unexpected symbol:','
REPAIR:   Cast_type@"insn-codes.h",L433/C51 through
','@"insn-codes.h",L433/C67 was replaced with '_New'
>>> Too many syntax errors -- aborting.
E "insn-codes.h",L434/C27(#493):	End of file encountered within #if
construct
		(unmatched #if-#else-#elif at "insn-codes.h",L4/C1)
w (#657):	(info) How referenced files were included:
|    File insn-codes.h from config.h from ./libgcc1.c.
|    File machmode.h from insn-codes.h from config.h from ./libgcc1.c.
26 user errors   1 warning   
make[3]: *** [libgcc/_mulsi3.o] Error 26
make[3]: Leaving directory `/usr1/gcc-3.0/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/usr1/gcc-3.0/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr1/gcc-3.0/gcc'
make: *** [bootstrap-lean] Error 2

The "machmode.h" is included in "insn-codes.h". However, there is not
any inclusion somewhere to define PARAMS. Any suggestion?

Regards,
Tanes Sriviroolchai


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


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