I tried building 8.1.0 on AIX 5.3 and ran into a problem: $ oslevel -s 5300-11-08-1140 $ gtar Jxf /opt/src/latest/devel/gcc-8.1.0/src/gcc-8.1.0.tar.xz $ cd gcc-8.1.0 $ mkdir .obj $ cd .obj $ LDR_CNTRL=MAXDATA=0x70000000 ../configure \ SHELL=/opt/fsw/bash42/bin/bash LDFLAGS="-Wl,-brtl \ -Wl,-blibpath:/opt/TWWfsw/libisl016/lib:/opt/TWWfsw/libgmp61/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-gmp=/opt/TWWfsw/libgmp61 --with-isl=/opt/TWWfsw/libisl016 \ --with-mpc=/opt/TWWfsw/libmpc10 --with-mpfr=/opt/TWWfsw/libmpfr31 \ --with-local-prefix=/tmp/gcc8 --prefix=/tmp/gcc8 $ LDR_CNTRL=MAXDATA=0x70000000 gmake ... In file included from /opt/build/china/gcc-8.1.0/.obj/powerpc-ibm-aix5.3.11.0/libstdc++-v3/include/cmath:45, from /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:25: /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:3: error: 'long double fabs' redeclared as different kind of symbol fabsl(long double x) ^~~~~ /opt/build/china/gcc-8.1.0/.obj/gcc/include-fixed/math.h:312:16: note: previous declaration 'double fabs(double)' extern double fabs(double); ^~~~ /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:9: error: expected primary-expression before 'long' fabsl(long double x) ^~~~ /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:9: error: expected ')' before 'long' /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:3: note: to match this '(' fabsl(long double x) ^~~~~ gmake[6]: *** [math_stubs_long_double.lo] Error 1 gmake[6]: Leaving directory `/opt/build/china/gcc-8.1.0/.obj/powerpc-ibm-aix5.3.11.0/libstdc++-v3/src/c++98' Has anyone successfully built 8.1.0 on AIX 5.3? -- albert chin (china@xxxxxxxxxxxxxxxxxx)