Configure and build: #!/bin/tcsh /bin/rm -rf *; env CC='gcc -mcpu=970 -m64' ../configure --prefix=/pkgs/gcc-4.2.0 --enable-languages=c; make -j 8 bootstrap BOOT_CFLAGS='-mcpu=970 -m64 -O2 -g' >& build.log [lindv2:gcc/mainline/objdir64] lucier% ld -v Apple Computer, Inc. version cctools-590.42.1.obj~1 [lindv2:gcc/mainline/objdir64] lucier% gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5341.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5341)
bootstrap fails with /Users/lucier/programs/gcc/mainline/objdir64/./gcc/xgcc -B/Users/lucier/programs/gcc/mainline/objdir64/./gcc/ -B/pkgs/gcc-4.2.0/powerpc-apple-darwin8.6.0/bin/ -B/pkgs/gcc-4.2.0/powerpc-apple-darwin8.6.0/lib/ -isystem /pkgs/gcc-4.2.0/powerpc-apple-darwin8.6.0/include -isystem /pkgs/gcc-4.2.0/powerpc-apple-darwin8.6.0/sys-include -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber \ -c ../../gcc/config/darwin-crt2.c -o crt2.o ../../gcc/config/darwin-crt2.c:1: internal compiler error: Bus error Please submit a full bug report, This is near the end of the stage1 build. -- Summary: ICE building darwin-crt2.c in 64-bit darwin bootstrap Product: gcc Version: 4.2.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.6.0 GCC host triplet: powerpc-apple-darwin8.6.0 GCC target triplet: powerpc-apple-darwin8.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27814