This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 4.0.1 Memory error during make on AIX 5.0.0.8 using gcc 3.3.3
- From: AIX_DOS_OS2 <dcrs6000 at ispwest dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 07 Aug 2005 17:28:48 -0700
- Subject: gcc 4.0.1 Memory error during make on AIX 5.0.0.8 using gcc 3.3.3
Hi,
Any one have any idea why I am getting the following error exit?
/usr/local/bin/gcc -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -DGENERATOR_FILE -o
build/genattrtab \
build/genattrtab.o build/genautomata.o \
build/rtl.o build/read-rtl.o build/ggc-none.o build/min-insn-modes.o build/gensupport.o
build/insn-conditions.o build/print-rtl.o build/errors.o \
build/varray.o ../build-powerpc-ibm-aix5.1.0.0/libiberty/libiberty.a -lm
build/genattrtab /tmp/GCC/Source/gcc-4.0.1/gcc/config/rs6000/rs6000.md > tmp-attrtab.c
out of memory allocating 80016 bytes after a total of 4161652476 bytes
make[2]: *** [s-attrtab] Error 1
make[2]: Leaving directory `/tmp/GCC/Source/BuildDir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp/GCC/Source/BuildDir/gcc'
make: *** [bootstrap] Error 2
I have tried running "make" over 6 times and keep getting this message.
I have no idea what is going on.
As far as I can tell I have unlimited stack space and such.
I am running this build as root. I am using the following "configure"
and "make" calls. I have altered the configure calling parameters with no
change in the end result. My last attempt was to add the line beginning
--with-cpu... in the configure and by removing -lean from the bootstrap
parameter in the make.
/tmp/GCC/Source/gcc-4.0.1/configure --disable-nls --with-libiconv-prefix=/usr \
--enable-language=c,c++,f95,objc --disable-shared --disable-multilib --enable-threads=aix \
--with-cpu=power4 --with-system-zlib
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean
Bye,
Dwight