Path: utzoo!dciem!array!rob From: rob@array.UUCP (Rob Marchand) Newsgroups: comp.lang.perl Subject: Re: Sun-3 and pl44 Message-ID: <1853@array.UUCP> Date: 16 Jan 91 14:26:18 GMT References: <585@sunny.ucdavis.edu> <586@sunny.ucdavis.edu> Organization: Array Systems Computing, Inc., Toronto, Ontario, CANADA Lines: 28 In article <586@sunny.ucdavis.edu> poage@sunny.ucdavis.edu (Tom Poage) writes: > >I got the whole thing to compile with -O, but -O4 dies (it >doesn't get past perl.c, and I didn't try any other -O? types) >after eating up nearly all 40MB of swap space over about a 30 >minute period (unloaded machine). If cc takes that much to build >it, I'll pass [1/2 :-)]. > >Sorry for the almost false alarm. Tom. >-- I've built several perl versions on a Sun 3/160 with 16MB of memory, and (I think) around 30-40MB of swap. I used -O3 on all routines except toke.c and eval.c (also ttoke.c and teval.c too, of course). As you note, the optimizer (for Sun cc) gets itself into a tizzy and chomps on memory until it runs out of VM (an error from getpage()). I dropped to -O2 for those two. Perl, patchlevels 18, 28(?) and 44 passed all tests, and has given no problems so far (although now that I've said it, things will probably start to fall apart :-) Takes a while to build at those optimization levels though, and I'm not sure that I gain anything by bumping it up that high. Oh well. By the way, perl is a great package; just have to get the book now! Cheers! Rob Marchand -- Rob Marchand UUCP : uunet!attcan!lsuc!array!rob Array Systems Computing ARPA : rob%array.UUCP@uunet.UU.NET 401 Magnetic Drive, Unit 24 Phone : +1(416)736-0900 Fax: (416)736-4715 Downsview, Ont CANADA M3J 3H9 Telex : 063666 (CNCP EOS TOR) .TO 21:ARY001