https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686
Dennis Clarke <dclarke at blastwave dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dclarke at blastwave dot org --- Comment #1 from Dennis Clarke <dclarke at blastwave dot org> --- As extra information that configure options were : nix_$ pwd /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002 nix_$ date Sun Oct 22 21:06:26 GMT 2017 nix_$ ../gcc-7.2.0/config.guess powerpc64-unknown-linux-gnu nix_$ CC='gcc -m64' CXX='g++ -m64' \ > LD_RUN_PATH='/usr/local/lib:/usr/local/gcc7/lib' \ > ../gcc-7.2.0/configure --build=powerpc64-unknown-linux-gnu \ > --target=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-linux-gnu \ > --enable-targets=powerpc64-linux --prefix=/usr/local/gcc7 \ > --disable-nls --enable-threads=posix --enable-shared \ > --with-cpu=default64 --enable-bootstrap \ > --enable-libstdcxx-debug --enable-libstdcxx-time=yes \ > --enable-__cxa_atexit --with-system-zlib --enable-objc-gc \ > --enable-multiarch --with-long-double-128 --enable-multilib \ > --enable-stage1-languages=c,c++ --enable-stage1-checking=misc \ > --enable-languages=ada,c,c++,fortran,go,lto,objc,obj-c++ \ > --with-pkgversion='genunix Sun Oct 22 21:06:26 GMT 2017' That should result in a fully 64-bit gcc with the ability to do multi-lib compiles ( both 64-bit and 32-bit ) however there isn't clear documentation on the required libc package dependencies. Regardless, seems to work fine until late late ( many hours ) into stage3.