Problem compiling gcc 4.0.1 on AIX 5.0.0.8

AIX_DOS_OS2 dcrs6000@ispwest.com
Tue Aug 9 02:54:00 GMT 2005


Help!
   I am unable to compile gcc 4.0.1 on AIX 5.0.0.8 because:

"out of memory allocating 80016 bytes after a total of 4161652492 bytes"

This message appear while executing the following commands:
           ********************* configure ************************
/mkcd/GCC/Source/gcc-4.0.1/configure --disable-nls --with-libiconv-prefix=/usr 
--enable-languages=c,c++,f95 --disable-shared --disable-multilib --enable-threads=aix

           ********************* make ************************
/usr/local/bin/make --debug='b,v,i' CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 
-fno-implicit-templates' bootstrap-lean | tee /tmp/GCCmake

This is the last section section of output from make before it error exits:

                       Successfully remade target file `build/varray.o'.
                       Pruning file `../build-powerpc-ibm-aix5.1.0.0/libiberty/libiberty.a'.
                      Finished prerequisites of target file `build/genattrtab'.
                     Must remake target `build/genattrtab'.
/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
                     Successfully remade target file `build/genattrtab'.
                    Finished prerequisites of target file `s-attrtab'.
                   Must remake target `s-attrtab'.
build/genattrtab /mkcd/GCC/Source/gcc-4.0.1/gcc/config/rs6000/rs6000.md > tmp-attrtab.c

out of memory allocating 80016 bytes after a total of 4161652492 bytes
make[2]: *** [s-attrtab] Error 1
make[2]: Leaving directory `/mkcd/GCC/Source/BuildDir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mkcd/GCC/Source/BuildDir/gcc'
make: *** [bootstrap-lean] Error 2


   I do not know what this output from make means:
	build/genattrtab /mkcd/GCC/Source/gcc-4.0.1/gcc/config/rs6000/rs6000.md > tmp-attrtab.c

   Can't imagine what it would be creating that is so large! :(

   Any assistance would be GREATLY appreciated!

Bye,
Dwight



More information about the Gcc-help mailing list