Subject: pmax 1.4 kde build fails
To: None <current-users@netbsd.org, tech-toolchain@netbsd.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: current-users
Date: 05/11/1999 20:22:16
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?

thanks
--Jonathan