System V yacc / perl problem

Dave Klann davek at heurikon.UUCP
Thu Feb 18 02:10:09 AEST 1988


In article <1675 at van-bc.UUCP> sl at van-bc.UUCP (Stuart Lynne) writes:
>Weirdness abounds once again! 
>
>I can successfully generate perl on my ancient Callan (a Unisoft 5.0 system, 
>basically System V release level 0 with some BSD ism's), but not on my modern,
>uptodate, state of the art System V release 3 for the 386 at work!!!
>
>The problem is yacc. I get the following results when make try's to generate
>perl.c from perl.y:
>
>	Expect 2 shift/reduce errors...
>		yacc perl.y
>
>	 fatal error: out of state space, line 595
>	*** Error code 1
>
>{ihnp4!alberta!ubc-vision,uunet}!van-bc!Stuart.Lynne Vancouver,BC,604-937-7532

I don't know if this helps you, but...

I had a similar problem at first.  I'm running SVR3.0 on an MC68020
box.  After looking at the source for yacc I found that it was
compiled for a machine with a wordsize of something less than 32 bits.
When this happens, cpp will set the number of states (NSTATES) to 600.
After recompiling yacc with the proper wordsize (to set NSTATES to 750)
it blew right through perl.y

Might be worth a call to Bell Tech.

Larry, you're a genius!!  Thanks for all the wonderful tools you've provided
the world.  You're a real inspiration to me!!

id Klann
Heurikon Corporation, Madison. WI
Voice: 608-271-8700 (work)
Disclaimer: "Member FDIC.  Substantial penalty for early withdrawl." :-)



More information about the Comp.sources.bugs mailing list