https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81856
--- Comment #7 from christian.tremel at itsv dot at --- Created attachment 41986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41986&action=edit build_gcc.log to rule out potential xlc quirks, i took a run with an older version of gcc. also fails at same stage. build script used: #!/usr/bin/bash gmake clean gmake distclean export CONFIG_SHELL="/opt/freeware/bin/bash" export CONFIGURE_ENV_ARGS="/opt/freeware/bin/bash" # work around strange libtool error, see details at: # https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14145662 export RM="/usr/bin/rm -f" export AR="/usr/bin/ar" # use maximum amount of memory (heap) available to 32-bit programs # seems not to be taken into account though export LDR_CNTRL="MAXDATA=0x80000000" export CC="gcc" export CXX="g++" export BOOT_CFLAGS="-O2 -I/opt/freeware/include" export CFLAGS="-O2 -I/opt/freeware/include" export CXXFLAGS="-O2 -I/opt/freeware/include" export LIBCFLAGS="-O2 -I/opt/freeware/include" export LIBCXXFLAGS="-O2 -I/opt/freeware/include" export LDFLAGS="-L/opt/freeware/lib -Wl,-bbigtoc -Wl,-blibpath:/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.9.4:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000" ../configure \ --with-as=/usr/bin/as \ --with-ld=/usr/bin/ld \ --prefix=/usr/local/gcc7 \ --disable-werror \ --enable-languages="c,c++,fortran,objc" \ --enable-version-specific-runtime-libs \ --disable-nls \ --enable-decimal-float=dpd \ --with-cloog=no \ --with-ppl=no \ --enable-__cxa_atexit \ --disable-libstdcxx-pch \ --with-included-gettext \ --enable-bootstrap ulimit -d unlimited ulimit -s unlimited gmake -j 4 bootstrap