http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #30 from David Edelsohn <dje at gcc dot gnu.org> 2012-11-28 19:35:36 UTC --- > 1) how did you install the gcc(you said it works on your aix) ? I mean what > mpfr,gmp, libmpc did you use and how did you install them? I built gmp, mpfr and mpc from source code and installed them in a local directory. I configure GCC with --with-gmp=/path/to/tools 2) How did you configure gcc before makeing? (the exact command line) You can see this in my regular GCC testsuite results. /gsa/yktgsa/home/e/d/edelsohn/src/src/configure --prefix=/gsa/yktgsa/home/e/d/edelsohn/install/powerpc-ibm-aix7.1.0.0-20121127 --disable-werror --enable-languages=c,c++,fortran,objc --with-gmp=/usr/gnu --with-mpfr=/usr/gnu --with-cloog=no --with-ppl=no --disable-libstdcxx-pch --with-boot-ldflags=-L/usr/gnu/lib 3) what aix do you you use(oslevel -s) ? and any other pre-requisites that I should put in order for me to have my gcc built.(environment vars... etc) I recently have built with AIX 7.1. I think it technically is 7.1.1 but not all filesets were upgraded so oslevel is not accurate. I previously built regularly with AIX 5.3 and have built with AIX 6.1. There were some problems with the AIX assembler that caused errors at link time, but not the type of errors that you are reporting. You also can contact Michael Perzl who has GCC 4.7 builds for nearly all recent releases of AIX. http://www.perzl.org/