Path: utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!sfsup.att.com!dcm From: dcm@sfsup.att.com Newsgroups: gnu.emacs.bug Subject: Fix for src/m-amdahl.h Message-ID: <8810192114.AA00252@prep.ai.mit.edu> Date: 19 Oct 88 20:16:00 GMT Sender: bob@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 29 I am running GNU Emacs 18.51 on an Amdahl 580 running UTS 5.2.5. I have encountered the memory allocation bug as described in etc/MACHINES for the amdahl. The fix is to change m-amdahl.h to define C_ALLOCA or to write your own alloca() in assembler. (I have one in the works.) The alloca() provided with UTS is buggy and will cause the process to grow outrageously. I tested this by editing PROBLEMS (invoked as "xemacs ../PROBLEMS") and using M-e to move to the following line: * temacs prints "Pure Lisp storage exhausted" Using alloca() as provided with UTS, the process size a shown by "ps -l" was 308, using the provided alloca.c the size was 191. Further testing appears to indicate that the allocation problem is really contained. When I get a working alloca() is assembled for the Amdahl, I will submit it for inclusion with GNU Emacs. -- David C. Miller, Consultant AT&T Information Systems 190 River Road 5-213 Summit, NJ 07901 (201) 522-6541 dcm@attunix.UUCP