http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49804
--- Comment #2 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2011-09-01 08:52:43 UTC --- I haven't looked at it for a while. It seems ia64 is indeed fixed, I've built gcc-4.7.0.20110730. However sparc64 still gives this error. Building 4.7.0.20110730: gmake[3]: Leaving directory `/usr/ports/lang/gcc47/work/build/gcc' Checking multilib configuration for libgcc... gmake[3]: Entering directory `/usr/ports/lang/gcc47/work/build/sparc64-portbld-freebsd9.0/libgcc' # If this is the top-level multilib, build all the other # multilibs. gmake[4]: Entering directory `/usr/ports/lang/gcc47/work/build/sparc64-portbld-freebsd9.0/libgcc' if [ -z "" ]; then \ true; \ else \ rootpre=`${PWDCMD-pwd}`/; export rootpre; \ srcrootpre=`cd ../.././../gcc-4.7-20110730/libgcc; ${PWDCMD-pwd}`/; export srcrootpre; \ lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \ compiler="/usr/ports/lang/gcc47/work/build/./gcc/xgcc -B/usr/ports/lang/gcc47/work/build/./gcc/ - B/usr/local/sparc64-portbld-freebsd9.0/bin/ -B/usr/local/sparc64-portbld-freebsd9.0/lib/ -isystem / usr/local/sparc64-portbld-freebsd9.0/include -isystem /usr/local/sparc64-portbld-freebsd9.0/sys-inc lude "; \ for i in `${compiler} --print-multi-lib 2>/dev/null`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ if [ "${dir}" = "." ]; then \ true; \ else \ if [ -d ../${dir}/${lib} ]; then \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ if (cd ../${dir}/${lib}; gmake "AR=/usr/local/sparc64-portbld-freebsd9.0/bin/ar" "AR_FLAGS= rc" "CC=/usr/ports/lang/gcc47/work/build/./gcc/xgcc -B/usr/ports/lang/gcc47/work/build/./gcc/ -B/us r/local/sparc64-portbld-freebsd9.0/bin/ -B/usr/local/sparc64-portbld-freebsd9.0/lib/ -isystem /usr/ local/sparc64-portbld-freebsd9.0/include -isystem /usr/local/sparc64-portbld-freebsd9.0/sys-include " "CFLAGS=-g -O2 -pipe -I/usr/local/include -fno-strict-aliasing" "DESTDIR=" "EXTRA_OFILES=" "HD EFINES=" "INSTALL=/usr/bin/install -c -o root -g wheel" "INSTALL_DATA=install -o root -g wheel -m 444" "INSTALL_PROGRAM=install -s -o root -g wheel -m 555" "LDFLAGS=" "LOADLIBES=" "RANLIB=/usr/loc al/sparc64-portbld-freebsd9.0/bin/ranlib" "SHELL=/bin/sh" "prefix=/usr/local" "exec_prefix=/usr/loc al" "libdir=/usr/local/lib/gcc47" "libsubdir=/usr/local/lib/gcc47/gcc/sparc64-portbld-freebsd9.0/4. 7.0" "tooldir=/usr/local/sparc64-portbld-freebsd9.0" \ CFLAGS="-g -O2 -pipe -I/usr/local/include -fno-strict-aliasing ${flags}" \ CCASFLAGS=" ${flags}" \ FCFLAGS=" ${flags}" \ FFLAGS=" ${flags}" \ ADAFLAGS=" ${flags}" \ prefix="/usr/local" \ exec_prefix="/usr/local" \ GCJFLAGS=" ${flags}" \ GOCFLAGS="-O2 -g ${flags}" \ CXXFLAGS="-g -O2 -pipe -I/usr/local/include -fno-strict-aliasing ${flags}" \ LIBCFLAGS="-g -O2 -pipe -I/usr/local/include -fno-strict-aliasing ${flags}" \ LIBCXXFLAGS="-g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -fno-im plicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ INSTALL="/usr/bin/install -c -o root -g wheel" \ INSTALL_DATA="install -o root -g wheel -m 444" \ INSTALL_PROGRAM="install -s -o root -g wheel -m 555" \ INSTALL_SCRIPT="install -o root -g wheel -m 555" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi gmake[4]: Leaving directory `/usr/ports/lang/gcc47/work/build/sparc64-portbld-freebsd9.0/libgcc' # If the gcc directory specifies which extra parts to # build for this target, and the libgcc configuration also # specifies, make sure they match. This can be removed # when the gcc directory no longer holds libgcc configuration; # it is useful when migrating a target. Configuration mismatch! Extra parts from gcc directory: crtbegin.o crtbeginS.o crtend.o crtendS.o crtfastmath.o Extra parts from libgcc: crtfastmath.o exit 1 gmake[3]: *** [libgcc-extra-parts] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc47/work/build/sparc64-portbld-freebsd9.0/libgcc' gmake[2]: *** [all-stage1-target-libgcc] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc47/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc47/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc47. *** Error code 1