On Thu, 13 Jul 2006, Waldek Hebisch wrote:
Concerning gcc-4.1.1: basically, it should work the same as gcc-4.1.0. For both you need gpc-20060325 + patches:
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20060325.tar.bz2 http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-4.1-4.diff.gz http://www.math.uni.wroc.pl/~hebisch/gpc/gcc-4.1-4.diff.gz
Starting with clean copies of above, Only hunk failure: gcc/tree-ssa-loop-niter.c bison version: 2.2 gcc version: 4.1.1 make bootstrap got this far:
make[3]: Nothing to be done for `generated-files'. make[3]: Leaving directory `/home/russ/src/gcc_collection/gpc-20060325-4.1.1/gpc-20060325/p/rts' cd ../../gcc-4.1.1/gcc/p && bison -o parse.c parse.y parse.y: conflicts: 62 shift/reduce, 25 reduce/reduce parse.y: expected 24 reduce/reduce conflicts make[2]: *** [../../gcc-4.1.1/gcc/p/parse.h] Error 1 make[2]: Leaving directory `/home/russ/src/gcc_collection/gpc-20060325-4.1.1/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/russ/src/gcc_collection/gpc-20060325-4.1.1/build/gcc' make: *** [bootstrap] Error 2
This is due to change in bison-2.[23] (I used patched 2.1). Frank attached a patch correcting this problem to:
http://www.gnu-pascal.de/crystal/gpc/en/mail13607.html
BTW: there is no reason to run bison -- if you touch parse.[ch] before build then you will use the version included in the patch.