With this configure and build:
[descartes:gcc/mainline/objdir] gcc-test% cat ../build-and-check-gcc
#!/bin/tcsh
/bin/rm -rf *; env CC=/pkgs/gcc-4.2.0-64/bin/gcc ../configure
--build=powerpc64-apple-darwin8.8.0 --host=powerpc64-apple-darwin8.8.0
--target=powerpc64-apple-darwin8.8.0 --with-gmp=/pkgs/gmp-4.2.1-64/
--with-mpfr=/pkgs/gmp-4.2.1-64/ --prefix=/pkgs/gcc-4.3.0-64; make -j 4
bootstrap BOOT_LDFLAGS='-Wl,-search_paths_first' >& build.log && (make install)
&& (make -k -j 8 check RUNTESTFLAGS="--target_board 'unix{-mcpu=970/-m64}'" >&
check.log ; make mail-report-with-warnings.log)
bootstrap fails with
configure: error: "libffi has not been ported to powerpc64-apple-darwin8.8.0."
make[1]: *** [configure-target-libffi] Error 1
make: *** [bootstrap] Error 2
--
Summary: Bootstrap error: "libffi has not been ported to
powerpc64-apple-darwin8.8.0"
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lucier at math dot purdue dot edu
GCC build triplet: powerpc64-apple-darwin8.8.0
GCC host triplet: powerpc64-apple-darwin8.8.0
GCC target triplet: powerpc64-apple-darwin8.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30134