Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Dennis Grevenstein <dennis.grevenstein@gmail.com>
Subject: 4.0f and swap / virtual memory
Date: 20 May 2007 11:22:16 GMT	[thread overview]
Message-ID: <f2pb18$lph$1@news.urz.uni-heidelberg.de> (raw)

Hi,

I've got a problem compiling gcc-3.4.6 on Tru64 4.0F.
The build fails with:

stage2/xgcc -Bstage2/ -B/usr/local/alpha-dec-osf4.0f/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H    -I. -I. -I. -I./. -I./../include  reload.c -o reload.o
virtual memory exhausted: Not enough space

I thought it would have been obvious what's going on, but now, I'm
out of ideas. This is an Alphaserver 2100 with 512MB RAM and 512MB
of swap. At first, I switched from greedy swapping mode to lazy
swapping mode by deleting /sbin/swapdefault, but this didn't help.
I checked the memory usage with top and swapon -s. top shows that the
compiler takes maybe 50 to 100MB until it fails. Both, top and
swapon show that there is actually no swap used at all:

Total swap allocation:
    Allocated space:        65536 pages (512MB)
    In-use space:               1 pages (  0%)
    Available space:        65535 pages ( 99%)

I recently built this gcc release on another machine which
only had 256MB of RAM and 512MB swap in default swapping mode
and it worked fine.
A lazy solution would be to compile this file without
optimization, but I would really like to know what's wrong
here. thanks in advance.

gruss,
Dennis

P.S.
Anybody here who has CPUs and a power supply for an AS2100 for sale?

-- 
Don't suffer from insanity...
Enjoy every minute of it.


                 reply	other threads:[~2007-05-20 11:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox