Subject: Re: Weird compiler errors?
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 05/24/2002 17:32:53
In article <LAW2-F26D3MBhe3WYIg0000a772@hotmail.com>,
Jiro Kage <jirokagey@hotmail.com> wrote:
>At first from the logfile I thought this was a simple problem of trying to 
>compile too much on a weak machine.  Then, I thought it was an issue of bad 
>memory.  Right now Im not quite sure WHAT it is.  I'll see if anyone else 
>knows:
>
>Here is the error line as it is merrily compiling along:
>c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 
>-I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -c 
>Client.cpp
>c++: Internal compiler error: program cc1plus got fatal signal 9
>
>From the logs:
>May 23 18:46:41 gibson /netbsd: UVM: pid 7709 (cc1plus), uid 0 killed: out 
>of swap
>
>Yet when I flipped desktops over to system area, top showed me this:
>Memory: 10M Act, 7904K Inact, 336K Wired, 14M Free, 6136K Swp, 155M Swp free
>
>
>Anyone got ideas?  It's netbsd 1.5.2 on a pentium 75 with 40 megs of hard 
>ram.  Using latest gmake and egcs-1.1.2

Add more swap? Or kill the -O2 flags (the optimizer can use up a lot of memory).

christos