Subject: re: sparc64 build trouble
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: matthew green <mrg@eterna.com.au>
List: port-sparc64
Date: 07/20/2002 12:06:32
   
   Well, my build just fell over:
   
   | # ./build.sh -O /usr/obj
   ...
   | dependall ===> toolchain
   | Configuring for a sparc64-unknown-netbsd1.6A host.
   ...
   | expect 30 shift/reduce conflicts and 42 reduce/reduce conflicts.
   | cd /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/cp; true  -d -o parse.c parse.y
   | cd /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/cp; grep '^#define[    ]*YYEMPTY' parse.c >>parse.h
   | cd /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/objc;  true  -o objc-parse.c objc-parse.y
   | gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word  -k1,3,$ /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/c-parse.gperf >tmp-gperf.h
   | gperf: not found
   | *** Error code 127
   | 
   | Stop.
   | nbmake: stopped in /usr/obj/tools/toolchain/build/gcc
   | *** Error code 1
   | 
   | Stop.
   
   Is there some way (perhaps akin to the old MKINFO=no sort of thing) to
   disable that use of gperf?  Presumably it's _possible_ to build and
   install gperf by hand; is it a sane thing to contemplate under the New
   Build Order, or would I be better off asking around to see if someone
   could send me a gperf executable?


hmmm.  gperf is used by the gcc makefiles and it _should_ have been
disabled being run.  if you go and 'touch' the files that gperf is
trying to rebuild (there is a "contrib/update_egcs --touch" that
works), it should work.  you should also send-pr the above.


.mrg.