Xref: utzoo comp.sources.bugs:762 comp.unix.questions:5623 Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!hao!oddjob!uwvax!heurikon!davek From: davek@heurikon.UUCP (Dave Klann) Newsgroups: comp.sources.bugs,comp.unix.questions Subject: Re: System V yacc / perl problem Keywords: yacc perl sysv Message-ID: <174@heurikon.UUCP> Date: 17 Feb 88 16:10:09 GMT References: <1675@van-bc.UUCP> Reply-To: davek@heurikon.UUCP (David Klann) Organization: Heurikon Corp., Madison WI Lines: 36 In article <1675@van-bc.UUCP> sl@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." :-)