Bison 1.75c + FreeBSD 5.0 = can't boostrap gcc from CVS

Joseph S. Myers jsm28@cam.ac.uk
Thu Dec 12 11:52:00 GMT 2002


On Wed, 11 Dec 2002, Craig Rodrigues wrote:

> When I tried to bootstrap, I got this error:
> 
> gcc -c -DIN_GCC -DLOCALEDIR=\"/home/rodrigc/testgcc/build/run/share/locale\" -DLOCALE_ALIAS_PATH=\"/home/rodrigc/testgcc/build/run/share/locale\"  -DLIBDIR=\"/home/rodrigc/testgcc/build/run/lib\" -DHAVE_CONFIG_H -I.. -I. -I../../../gcc/gcc/intl -I../../../gcc/gcc  -I../../../gcc/gcc/config -I../../../gcc/gcc/../include  -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common  ../../../gcc/gcc/intl/ngettext.c -o ngettext.o
> bison -y -d --name-prefix=__gettext --output plural.c ../../../gcc/gcc/intl/plural.y
> conflicts:  7 shift/reduce
> ../../../gcc/gcc/intl/plural.y: expected 10 shift/reduce conflicts
> *** Error code 1

(a) This is a known gettext problem (that the number of expected conflicts 
is incorrect).  We should update the intl directory to current gettext, 
but not before the 3.3 branch.

(b) We need to investigate and fix why the plural.c file in CVS isn't
being used here.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc mailing list