Subject: ld not using swap?
To: None <netbsd-users@NetBSD.ORG>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-users
Date: 07/05/1998 22:04:29
I'm trying to link a rather large program and get the following message:
cc -o bin/scilex -u _MAIN__ routines/default/FTables.o \
[ many more .o and .a files listed here...] \
libs/comm.a libs/sound.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lSM \
-lICE -lX11 -ltermcap -L/usr/pkg/lib -lf2c -lm
ld: virtual memory
exhausted *** Error code 1
Stop.
The machine is a Mac IIci, 32 MB of RAM and a ton (150M or so) of swap.
NetBSD-1.3
dinah-moe# swapctl -l
Device 1K-blocks Used Avail Capacity Priority
/dev/sd1b 65536 5524 60012 8% 0
/dev/sd2b 98240 5508 92732 6% 0
Total 163776 11032 152744 7%
'top' says
Memory: 2828K Act 6284K Inact 3916K Wired 17M Free 12M Swap 148M Swap free
'top' shows ld growing to about 16MB before it quits.
I linked the program last week without -g, but am trying to locate a
bug...
Any idea how to make ld use more virtual memory? I added the sd2b
partition today to try and link this beast.
thanks,
Dan