Subject: Re: pmax 1.4 kde build fails
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Alfred Perlstein <bright@rush.net>
List: current-users
Date: 05/12/1999 00:19:23
On Tue, 11 May 1999, Jonathan Stone wrote:

> 
> hi all,
> 
> Building kde-1.1 on netbsd-1.4/pmax fails with an
> `virtual memory exhausted' error when compiling addressbook.cc:
> 
> 
>     g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kdecore -I../kdeui -I../kfile -I../kfmlib -I/usr/X11R6/include/qt -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/pkg/include -c -fPIC -DPIC addressbook.cc
> addressbook.cc: In method `bool AddressBook::nameOfField(const class string &, class string &)':
> addressbook.cc:1180: virtual memory exhausted
> 
> 
> This is on a machine with 96Mbytes of RAM and 128Mbytes of swap available.
> I've bumped the limits up as far as unlimit wants to let them go:
> 
>     Cuisinart# limit
>     cputime         unlimited
>     filesize        unlimited
>     datasize        262144 kbytes
>     stacksize       32768 kbytes
>     coredumpsize    unlimited
>     memoryuse       69132 kbytes
>     descriptors     3404 
>     memorylocked    69132 kbytes
>     maxproc         1044 
> 
> Has anyone seen anything like this with KDE?  Do I need more resources
> to compile that file, or am I running into a compiler bug?

Try to compile it sans the "-O2" try "-O0" (that's oh-zero) or just
without the -O option at all.  This may help.

-Alfred