*BSD News Article 5280


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ubc-cs!fornax!liu
From: liu@cs.sfu.ca (Lixin Liu)
Subject: Re: strtod.c -- Where's the source Luke?
Message-ID: <1992Sep18.214604.11084@cs.sfu.ca>
Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada
References: <8851@hq.hq.af.mil> <DJM.92Sep15104153@frob.eng.umd.edu> <1992Sep18.154311.20396@qualcomm.com>
Date: Fri, 18 Sep 1992 21:46:04 GMT
Lines: 31

In article <1992Sep18.154311.20396@qualcomm.com> karn@servo.qualcomm.com (Phil Karn) writes:
>In article <DJM.92Sep15104153@frob.eng.umd.edu> djm@eng.umd.edu (David J. MacKenzie) writes:
>>You can get strtod.c from the GNU shellutils 1.7, but when I tried
>>compiling it on 386BSD 0.1, gcc died from some internal error, with
>>signal 6 I think.  I didn't try to figure out what it was about the
>>file that tickled the compiler bug; I just gave up.
>
>
>Signal 6 is an abort() call, i.e., the compiler committed suicide. I
>frequently ran into the same problem with GCC when I first brought up
>386BSD, and I'm pretty sure it's triggered by the compiler running out of
>memory (ie., it attempts a malloc() which returns NULL).
>
>The default 386BSD file system allows only 5 megabytes of disk space
>for a swap area, and this is apparently too small for large compiles.
>Last night I regenerated my 386BSD system with 50 megabytes of swap
>space, and compiles that previously bombed now work (or at least they
>don't bomb with signal 6s!)
>
>Phil

I have 20MB swap space, but I still get signal 6 when I try to compile
gnuplot. I have tried all most everything (set limit ... ), but the
problem won't go away. Any suggestion?

Lixin
-- 
    mail:  Lixin Liu,   Department of Mathematics and Statistics,
           Simon Fraser University, Burnaby, B.C., CANADA  V5A 1S6
  e-mail:  liu@cs.sfu.ca   OR   liu@sfu.ca
   phone:  (604) 291-3422  (office),  (604) 294-6582 (home)