* 4.0f and swap / virtual memory
@ 2007-05-20 11:22 Dennis Grevenstein
0 siblings, 0 replies; only message in thread
From: Dennis Grevenstein @ 2007-05-20 11:22 UTC (permalink / 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-20 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-20 11:22 4.0f and swap / virtual memory Dennis Grevenstein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox