I am attempting to build GCC 4.7.4 on AIX 5.2. I have built GCC 4.4.6, 4.5.4, and 4.6.4 successfully on this platform. I am using GCC 4.4.6 as the bootstrap compiler. My build procedure: $ gtar jxf gcc-4.7.4.tar.bz2 $ cd gcc-4.7.4 $ mkdir .obj $ cd .obj $ PATH=/opt/TWWfsw/gcc44/bin:$PATH LDR_CNTRL=MAXDATA=0x70000000 \ SHELL=/opt/fsw/bin/bash CONFIG_SHELL=/opt/fsw/bin/bash \ /opt/fsw/bin/bash ../configure LDFLAGS="-Wl,-brtl \ -Wl,-blibpath:/opt/TWWfsw/libgmp51/lib:/opt/TWWfsw/libmpc10/lib:\ /opt/TWWfsw/libmpfr31/lib:/usr/lib" --enable-nls \ --with-included-gettext --enable-shared --enable-threads \ --enable-languages="c,c++" --with-local-prefix=/tmp/gcc47 \ --with-gmp=/opt/TWWfsw/libgmp51 --with-mpc=/opt/TWWfsw/libmpc10 \ --with-mpfr=/opt/TWWfsw/libmpfr31 --prefix=/tmp/gcc47 ... $ PATH=/opt/TWWfsw/gcc44/bin:$PATH LDR_CNTRL=MAXDATA=0x70000000 \ SHELL=/opt/fsw/bin/bash CONFIG_SHELL=/opt/fsw/bin/bash gmake ... checking for powerpc-ibm-aix5.2.0.0-ranlib... ranlib checking for powerpc-ibm-aix5.2.0.0-strip... strip checking whether ln -s works... yes checking for powerpc-ibm-aix5.2.0.0-gcc... /opt/build/china/gcc-4.7.4/.obj/./gcc/xgcc -B/opt/build/china/gcc-4.7.4/.obj/./gcc/ -B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/bin/ -B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/lib/ -isystem /tmp/gcc47/powerpc-ibm-aix5.2.0.0/include -isystem /tmp/gcc47/powerpc-ibm-aix5.2.0.0/sys-include -maix64 checking for suffix of object files... configure: error: in `/opt/build/china/gcc-4.7.4/.obj/powerpc-ibm-aix5.2.0.0/ppc64/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[2]: *** [configure-stage1-target-libgcc] Error 1 gmake[2]: Leaving directory `/opt/build/china/gcc-4.7.4/.obj' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/opt/build/china/gcc-4.7.4/.obj' gmake: *** [all] Error 2 Looking at /opt/build/china/gcc-4.7.4/.obj/powerpc-ibm-aix5.2.0.0/ppc64/libgcc/config.log I see: ... configure:3562: checking for suffix of object files configure:3584: /opt/build/china/gcc-4.7.4/.obj/./gcc/xgcc -B/opt/build/china/gcc-4.7.4/.obj/./gcc/ -B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/bin/ -B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/lib/ -isystem /tmp/gcc47/powerpc-ibm-aix5.2.0.0/include -isystem /tmp/gcc47/powerpc-ibm-aix5.2.0.0/sys-include -maix64 -c -g -O2 conftest.c >&5 <built-in>:0:0: internal compiler error: in altivec_init_builtins, at config/rs6000/rs6000.c:12322 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. ... Any ideas? -- albert chin (china@xxxxxxxxxxxxxxxxxx)