I have tried several times to build 4.2.4-rc1, but I keep getting an
error. I am building on a PowerMac G5 running Mac OS X 10.4.11. Below
is the last few pages console output during the bootstrap:
==========================
rm -f ./libgcov.a
ar rc ./libgcov.a libgcc/./_gcov.o libgcc/./_gcov_merge_add.o
libgcc/./_gcov_merge_single.o libgcc/./_gcov_merge_delta.o libgcc/./
_gcov_fork.o libgcc/./_gcov_execl.o libgcc/./_gcov_execlp.o libgcc/./
_gcov_execle.o libgcc/./_gcov_execv.o libgcc/./_gcov_execvp.o
libgcc/./_gcov_execve.o libgcc/./_gcov_interval_profiler.o libgcc/./
_gcov_pow2_profiler.o libgcc/./_gcov_one_value_profiler.o
ranlib -c ./libgcov.a
echo timestamp > stmp-multilib
# When building multilibbed target libraries, all the required
# libraries are expected to exist in the multilib directory.
MLIBS=`/Users/ctalley/Code/BuildLibsDir/gcc-4.2.4-RC-20080512build/./
gcc/xgcc -B/Users/ctalley/Code/BuildLibsDir/gcc-4.2.4-
RC-20080512build/./gcc/ -B/usr/local/gcc424rc1/powerpc-apple-
darwin8.11.0/bin/ -B/usr/local/gcc424rc1/powerpc-apple-darwin8.11.0/
lib/ -isystem /usr/local/gcc424rc1/powerpc-apple-darwin8.11.0/include
-isystem /usr/local/gcc424rc1/powerpc-apple-darwin8.11.0/sys-include
--print-multi-lib \
| sed -e 's/;.*$//' -e '/^\.$/d'` ; \
for mlib in $MLIBS ; do \
rm -f ${mlib}/libgcc_s.10.4.dylib || exit 1 ; \
ln -s ../libgcc_s.10.4.dylib ${mlib}/libgcc_s.10.4.dylib || exit
1 ; \
done
MLIBS=`/Users/ctalley/Code/BuildLibsDir/gcc-4.2.4-RC-20080512build/./
gcc/xgcc -B/Users/ctalley/Code/BuildLibsDir/gcc-4.2.4-
RC-20080512build/./gcc/ -B/usr/local/gcc424rc1/powerpc-apple-
darwin8.11.0/bin/ -B/usr/local/gcc424rc1/powerpc-apple-darwin8.11.0/
lib/ -isystem /usr/local/gcc424rc1/powerpc-apple-darwin8.11.0/include
-isystem /usr/local/gcc424rc1/powerpc-apple-darwin8.11.0/sys-include
--print-multi-lib \
| sed -e 's/;.*$//' -e '/^\.$/d'` ; \
for mlib in '' $MLIBS ; do \
strip -o libgcc_s.10.4.dylib_T${mlib} \
-s ../../gcc-4.2.4-RC-20080512/gcc/config/rs6000/darwin-libgcc.
10.4.ver -c -u \
./${mlib}/libgcc_s.1.dylib.tmp || exit 1 ; \
done
strip: can't open file: /Users/ctalley/Code/BuildLibsDir/gcc-4.2.4-
RC-20080512build/gcc/libgcc_s.1.dylib.tmp (No such file or directory)
make[3]: *** [libgcc_s.10.4.dylib] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2
================================
I used the following configure command:
../gcc-4.2.4-RC-20080512/configure --prefix=/usr/local/gcc424rc1 --
program-suffix=-424rc1 --with-gmp=/usr/local/gmp422-mpfr231 --with-
mpfr=/usr/local/gmp422-mpfr231 --mandir=/usr/local/share/man --
infodir=/usr/local/share/info --enable-werror --enable-static --
disable-shared --disable-multilib --with-included-gettext --with-pic
--enable-languages=c,c++,fortran
I have tried several variations with no success. Any help would be
appreciated.
Thanks,
Chris Talley
Senior Aerospace Engineer
CFD Research Corporation
215 Wynn Drive
Huntsville, AL 35805
256-726-4835
cst at cfdrc dot com