Subject: Re: build problems
To: None <current-users@NetBSD.ORG>
From: Simon Burge <>
List: current-users
Date: 06/27/1997 18:26:24
Previously I wrote:

> I'm getting the following:
> ===> ksh
> sh /usr/src/bin/ksh/ /usr/src/bin/ksh/emacs.c > tmpemacs.out
> awk: cmd. line:17: (FILENAME=- FNR=1) fatal: internal error line 170, file: /usr/src/gnu/usr.bin/gawk/eval.c
> *** Error code 1
> Stop.
> *** Error code 1
> I've built and installed gawk, but with no effect.  At this stage, sleep
> is more important than line 170 of eval.c (which looked like it will
> give me nightmares after a _quick_ glance), but I'll look further in the
> morning if noone else suggests anything...

I didn't mention that this was on a pmax.  Since then, I've installed
a virgin copy of gawk from the GNU gawk-2.15.6 distribution, and that
fails too.  However, gawk-3.0.3 works fine.  A gawk-2.15.6 binary
compiled under Ultrix (with gcc works fine...

I'm now starting to suspect a compiler bug (for lack of anything else to
suspect).  I've tried compiling with no optimisation, -O and -O2 with
the same results.  I've not yet delved into the internals of gawk.  Any