Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 13:18:48 +0200 (EET)
From:      Mantzios Achilleus <mantzios@softlab.ece.ntua.gr>
To:        <freebsd-ports@FreeBSD.org>
Cc:        <obrien@FreeBSD.org>
Subject:   4.7-RELEASE-p2 gcc32 compilation fails
Message-ID:  <Pine.SOL.4.31.0211221312100.1650-100000@theseas.softlab.ece.ntua.gr>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.31.0211221312100.1650-100000>