Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!crdgw1!ge-dab!tarpit!rtmvax!ssd From: ssd@rtmvax.UUCP (Steve Dick) Newsgroups: comp.lang.c++ Subject: compiling AT&T c++ under UTX 2.1 Keywords: yacc, C++, stack overflow Message-ID: <3097@rtmvax.UUCP> Date: 11 Apr 90 02:09:11 GMT Reply-To: ssd@rtmvax.UUCP (Steve Dick) Distribution: comp Organization: RTmVax Public Unix System, Orlando FL Lines: 21 I have been trying to compile AT&T C++ 2.0 on a Powernode system. The make scratch succeeds easily (with a large number of changes to various sh scripts). Then I do a make, and everything proceeds fine, until the scratch version of cfront tries to compile the yacc file y.tab.c. At this point it core dumps with the error "STACK OVERFLOW". Of course, I tried making my stack a 18 meg stack (apprently the max) instead of a 12 meg stack, but then it just gives a bigger core. A stack trace shows that it's failing with ~1000 function calls to a recursive routine called DEL (actually a macro/function family). Has anyone else tried any of this? (BTW: the y.tab.o from scratch works, but it annoys me that I can't compile it with CC.) My next adventure will be an attempt to compile the tasking library while pretending I am a vax. (Multiple sources say this will work.) Steve