I've been trying to compile gcc-4.3-20071221 on a sunblade 1000, running
Solaris 10 (SunOS faile 5.10 Generic_127111-05 sun4u sparc
SUNW,Sun-Blade-1000), and have been running into memory issues. I keep
getting the error message that my system is running out of virtual
memory (virtual memory exhausted: Not enough space).
I have 4GB of swap and 4GB of RAM, so I shouldn't be having this problem.
The error I'm getting is shown below:
/source/gcc/gcc-4.3-20071221/host-sparc-sun-solaris2.10/prev-gcc/xgcc
-B/source/gcc/gcc-4.3-20071221/host-sparc-sun-solaris2.10/prev-gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/ -c -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I.
-I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I./../intl
-I../.././gcc/../libcpp/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include/ -I../.././gcc/../libdecnumber
-I../.././gcc/../libdecnumber/dpd -I../libdecnumber
-I/usr/local/include ../.././gcc/c-decl.c -o c-decl.o
virtual memory exhausted: Not enough space
make[3]: *** [c-decl.o] Error 1
make[3]: Leaving directory
`/source/gcc/gcc-4.3-20071221/host-sparc-sun-solaris2.10/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/source/gcc/gcc-4.3-20071221'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/source/gcc/gcc-4.3-20071221'
make: *** [all] Error 2
The output of top shows (when the compilation isn't in progress):
last pid: 17852; load avg: 0.61, 1.25, 1.41; up 2+00:03:27
06:13:41
143 processes: 141 sleeping, 1 zombie, 1 on cpu
CPU states: 84.2% idle, 10.4% user, 5.4% kernel, 0.0% iowait, 0.0% swap
Memory: 4096M phys mem, 2835M free mem, 4097M total swap, 4097M free swap
Richard Paynter
[EMAIL PROTECTED]