This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building 3.1 on Tru64 UNIX 4.0D


On Fri, May 24, 2002 at 02:40:24PM -0700, Richard Henderson wrote:
> On Fri, May 24, 2002 at 01:27:46PM -0500, Albert Chin wrote:
> > Machine has only 128MB real memory but has 512MB swap. Builds fine on
> > Tru64 UNIX 5.1 (with less memory).
> 
> Are you sure that your ulimits are set such that you can
> that memory?

$ limit
cputime         unlimited
filesize        unlimited
datasize        384MB
stacksize       8MB
coredumpsize    unlimited
resident        242MB
descriptors     4096
addressspace    1024MB

I ran top while the build was running. The last line:
  Memory: Real: 172M/243M act/tot  Virtual: 527M use/tot  Free: 21M
  
    PID USERNAME PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
    350 china     52    0   24M   20M run     1:13 99.60% cc1

If I build with --enable-languages="c,f77", it works. The problem is
when I add c++. I tried building with CC=gcc-2.95.3 and CC=gcc-3.0.4
and, while I get further, it eventually bombs with the same error
(virtual memory exhausted).

-- 
albert chin (china@thewrittenword.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]