Subject: Cannot build gcc from -current on i386, pmax
To: None <current-users@NetBSD.ORG>
From: Jonathan Stone <jonathan@dsg.stanford.edu>
List: current-users
Date: 03/11/1996 21:18:17
On both a mips (decstation) and an i386, with today's sup source,
and yacc and lex built from today's sup source, I can't get a clean
build of gcc.
The generator for the bytecode fails as quoted below;
then compilation of stmt.c and expr.c also fails.
I'd send-pr this, but I don't know if it's yacc, lex, or the GCC .y
files that were recently incorporated into the NetBSD source tree,
that are at fault; or even if this happens elsewhere.
It'd be nice to get this fixed before 1.2...
Reno> make -k
yacc -b bi -d /usr/src/gnu/usr.bin/gcc/common/bi-parser.y
mv -f bi.tab.c bi-parser.c
mv -f bi.tab.h bi-parser.h
cc -O -I/usr/src/gnu/usr.bin/gcc/common -I/usr/src/gnu/usr.bin/gcc/common/../arc
h -I/usr/src/gnu/usr.bin/gcc/common/../arch/mips -I/usr/src/gnu/usr.bin/gcc/com
mon/obj -Werror -c bi-parser.c
cc -O -I/usr/src/gnu/usr.bin/gcc/common -I/usr/src/gnu/usr.bin/gcc/common/../arc
h -I/usr/src/gnu/usr.bin/gcc/common/../arch/mips -I/usr/src/gnu/usr.bin/gcc/com
mon/obj -Werror -c /usr/src/gnu/usr.bin/gcc/common/bi-lexer.c
cc -o bi-opcode bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
./bi-opcode < /usr/src/gnu/usr.bin/gcc/common/bytecode.def > bc-opcode.h
syntax error in input
*** Error code 33 (continuing)
cc -o bi-opname bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
./bi-opname < /usr/src/gnu/usr.bin/gcc/common/bytecode.def > bc-opname.h
syntax error in input
*** Error code 33 (continuing)
cc -o bi-arity bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
./bi-arity < /usr/src/gnu/usr.bin/gcc/common/bytecode.def > bc-arity.h
syntax error in input
*** Error code 33 (continuing)