This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building 3.1 on Tru64 UNIX 4.0D
- From: Albert Chin <gcc at thewrittenword dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 4 Jun 2002 16:39:24 -0500
- Subject: Re: Building 3.1 on Tru64 UNIX 4.0D
- References: <20020524132745.A79566@oolong.il.thewrittenword.com> <20020524144024.E27355@redhat.com>
- Reply-to: gcc at gcc dot gnu dot org
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)