Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!kuling!jand From: jand@kuling.UUCP (Jan Dj{rv) Newsgroups: comp.lang.perl Subject: Re: lib.big: Bad free() ignored... Message-ID: <1795@kuling.UUCP> Date: 16 Nov 90 08:15:36 GMT References: <1990Nov13.051155.13407@uokmax.ecn.uoknor.edu> <17001@hydra.gatech.EDU> <6615@ethz.UUCP> Reply-To: jand@kuling.UUCP (Jan Dj{rv) Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 47 In article <6615@ethz.UUCP> karrer@ethz.UUCP (Andreas Karrer) writes: >roy@prism.gatech.EDU (Roy Mongiovi) writes: > >My $0.02's worth: Perl PL 40 compilation (all "Configure" questions >answered with except where noted) > >Sun3 and Sun4 under SunOS 4.1 pass all tests. > >All other systems I work with had problems with the new arbitrary >precision package. > [ other machines deleted ] >HP-UX A.B7.0 needs "+O1" instead of "-O", needs HP's malloc and passes > all tests except: > lib.big.........FAILED on test 6 > cd t;./lib.big gives: > ...ok 5 > Out of memory! [Might be because of the way this machine is set up] Hmm, I've compiled perl 3.0 on HP 9000 system 300 and 800 HP-UX 7.0 and the only test that ever failed was that PL13 malloc problem, which was fixed in PL 15. Since then, no tests has ever failed, including lib.big. You can compile everything on the 800 series with -O but eval.c and toke.c will use a LOT of memory and CPU (I did this during the day once, some users thought the machine had crashed, since they didn't get any response at all). If you don't have the memory or the swap space you might get 'Out of memory' errors. On the 300 series you can compile everything except eval.c with -O. The register allocation scheme used by the compiler goes into an infinite loop on eval.c (as told to me by HP persons). cmd.c and regcomp.c will give global optimizer warnings. Compiling toke.c with +O1 will save you a lot of time. Again, depending on how much memory you have, compiling toke.c may give 'Out of memory' error. You also need to add +Nw500 (increase switch table stack) to cc. As for malloc, for 800, use perl:s malloc (PL41), for 300, use -lmalloc or perl:s malloc. > >+----------- > Andi Karrer, Communication Systems, ETH Zuerich, Switzerland > karrer@ks.id.ethz.ch karrer@czheth5a.bitnet Jan D.