https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482
--- Comment #10 from venture37 at gmail dot com --- G4 with a 32bit ppc7450 CPU, running OS X Tiger 10.4.11 with Xcode 2.5 (GCC 4.0.1) Cloned git repo & configured source Configured it with the following flags (taken from config.log) ./configure --enable-languages=c --enable-shared --enable-long-long --with-local-prefix=/Users/myusr/SandBox/gcc-trunk --enable-libssp --enable-threads=posix STRIP_FOR_TARGET=/usr/bin/strip --with-dwarf2 --disable-libitm --disable-nls --with-gmp=/Users/myusr/pkg --with-mpc=/Users/myusr/pkg --with-mpfr=/Users/myusr/pkg --with-os-directory=darwin --with-arch-directory=powerpc --with-system-zlib --enable-__cxa_atexit --with-gxx-include-dir=/Users/myusr/pkg/gcc49/include/c++/ --prefix=/Users/myusr/SandBox/gcc-trunk --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --infodir=/Users/myusr/SandBox/gcc-trunk/info --mandir=/Users/myusr/SandBox/gcc-trunk/man System had dependencies installed for GCC 4.9 installed via pkgsrc. Ran make Build fails at echo timestamp > s-genrtl-h /Users/myusr/Sandbox/gcc/host-powerpc-apple-darwin8/prev-gcc/xg++ -B/Users/myusr/Sandbox/gcc/host-powerpc-apple-darwin8/prev-gcc/ -B/Users/myusr/SandBox/gcc-trunk/powerpc-apple-darwin8/bin/ -nostdinc++ -B/Users/myusr/Sandbox/gcc/prev-powerpc-apple-darwin8/libstdc++-v3/src/.libs -B/Users/myusr/Sandbox/gcc/prev-powerpc-apple-darwin8/libstdc++-v3/libsupc++/.libs -I/Users/myusr/Sandbox/gcc/prev-powerpc-apple-darwin8/libstdc++-v3/include/powerpc-apple-darwin8 -I/Users/myusr/Sandbox/gcc/prev-powerpc-apple-darwin8/libstdc++-v3/include -I/Users/myusr/Sandbox/gcc/libstdc++-v3/libsupc++ -L/Users/myusr/Sandbox/gcc/prev-powerpc-apple-darwin8/libstdc++-v3/src/.libs -L/Users/myusr/Sandbox/gcc/prev-powerpc-apple-darwin8/libstdc++-v3/libsupc++/.libs -c -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I../.././gcc/../libcpp/include \ -o build/rtl.o ../.././gcc/rtl.c ../.././gcc/rtl.c: In function 'void cwi_output_hex(FILE*, const_rtx)': ../.././gcc/rtl.c:240:62: error: ISO C++98 does not support the 'q' gnu_printf length modifier [-Werror=format=] fprintf (outfile, HOST_WIDE_INT_PRINT_HEX, CWI_ELT (x, --i)); ^ ../.././gcc/rtl.c:242:69: error: ISO C++98 does not support the 'q' gnu_printf length modifier [-Werror=format=] fprintf (outfile, HOST_WIDE_INT_PRINT_PADDED_HEX, CWI_ELT (x, i)); ^ cc1plus: all warnings being treated as errors make[3]: *** [build/rtl.o] Error 1 Also noticed that the compiler flags default to -m64 which won't work on a 32bit PowerPC host.