Configured and built with #!/bin/tcsh /bin/rm -rf *; ../configure --prefix=/pkgs/gcc-4.1.0 --with-gmp=/sw/ --with-mpfr=/sw/ --with-as=/usr/local/odcctools-20060123/bin/as --with-ld=/usr/local/odcctools-20060123/bin/ld --enable-languages=c; make -j 8 bootstrap BOOT_CFLAGS='-mcpu=970 -m64 -O2 -g' >& build.log
Bootstrap fails with stage1/xgcc -Bstage1/ -B/pkgs/gcc-4.1.0/powerpc-apple-darwin8.5.0/bin/ -mcpu=970 -m64 -O2 -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genmodes \ build/genmodes.o build/errors.o ../build-powerpc-apple-darwin8.5.0/libiberty/libiberty.a ld64 failed: in ../build-powerpc-apple-darwin8.5.0/libiberty/libiberty.a(hashtab.o), not a valid ppc64 mach-o file which seems to be right: gcc -c -DHAVE_CONFIG_H -g -O2 -I/sw//include -I/sw//include -I. -I../../../libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../../libiberty/hashtab.c -o hashtab.o -- Summary: Can't build a 64-bit C compiler on darwin-ppc Product: gcc Version: 4.1.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: powerpc-apple-darwin8.5.0 GCC host triplet: powerpc-apple-darwin8.5.0 GCC target triplet: powerpc-apple-darwin8.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26814