From owner-freebsd-ports Fri Nov 22 3:19: 6 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C71C37B401; Fri, 22 Nov 2002 03:19:05 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id A613043EB2; Fri, 22 Nov 2002 03:18:58 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id gAMBImZ20794; Fri, 22 Nov 2002 13:18:48 +0200 (EET) Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.11.6/8.11.6) with ESMTP id gAMBImh10721; Fri, 22 Nov 2002 13:18:48 +0200 (EET) Date: Fri, 22 Nov 2002 13:18:48 +0200 (EET) From: Mantzios Achilleus To: Cc: Subject: 4.7-RELEASE-p2 gcc32 compilation fails Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I started to compile gcc32 with gcc2.95 but it failed. The last lines of the compilation have as follows: Expect 33 shift/reduce conflicts and 58 reduce/reduce conflicts. cd .././..//gcc-20020902/gcc/cp && \ if bison -d -o p$$.c parse.y; then \ grep '^#define[ ]*YYEMPTY' p$$.c >> p$$.h ; \ test -f p$$.output && mv -f p$$.output parse.output ; \ mv -f p$$.c parse.c ; mv -f p$$.h parse.h ; \ else \ rm -f p$$.* ; \ false ; \ fi parse.y: warning: 34 shift/reduce conflicts and 58 reduce/reduce conflicts stage1/xgcc -Bstage1/ -B/usr/local/i386-portbld-freebsd4.7/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Icp -I.././..//gcc-20020902/gcc -I.././..//gcc-20020902/gcc/cp -I.././..//gcc-20020902/gcc/config -I.././..//gcc-20020902/gcc/../include .././..//gcc-20020902/gcc/cp/pt.c -o cp/pt.o In file included from ../../gcc-20020902/gcc/cp/pt.c:37: ../../gcc-20020902/gcc/cp/parse.h:36: conflicting types for `TYPENAME' ../../gcc-20020902/gcc/cp/decl.h:29: previous declaration of `TYPENAME' gmake[2]: *** [cp/pt.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc' gmake[1]: *** [stage2_build] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc' gmake: *** [bootstrap] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc32. I tried defining YYTOKENTYPE to passby this error, but i later failed again to build so i quit fooling around with gcc32. I decided to "bootstrap" gcc32 compilation using gcc31. Is it a good idea?? Has anyone come across the error in gcc32 i encountered?? Thanx. Achilleus. ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message