http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086
--- Comment #7 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2010-11-16 13:18:39 UTC --- As it is hard to downgrade the port versions (it might break port interdependency), I tried instead to use a more recent gcc to build the ports in question and gcc45 itself. I rebuilt gmp-5.0.1, mpfr-3.0.0 and binutils-2.20.1_3 with gcc 4.4.6 20101026. I'm now trying to build gcc45 also with gcc 4.4.6 20101026, instead of the system default 4.2.1 20070719. I now get stopped here: gmake[3]: Leaving directory `/usr/ports/lang/gcc45/work/build/sparc64-portbld-freebsd9.0/libgcc' Checking multilib configuration for libgomp... Configuring stage 1 in sparc64-portbld-freebsd9.0/libgomp configure: loading cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for --enable-generated-files-in-srcdir... no checking build system type... sparc64-portbld-freebsd9.0 checking host system type... sparc64-portbld-freebsd9.0 checking target system type... sparc64-portbld-freebsd9.0 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../.././../gcc-4.5-20101111/libgomp/../install-sh -c -d checking for gawk... nawk checking whether gmake sets $(MAKE)... yes checking for sparc64-portbld-freebsd9.0-gcc... /usr/ports/lang/gcc45/work/build/./gcc/xgcc -B/usr/ports/lang/gcc45/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-include checking for C compiler default output file name... configure: error: in `/usr/ports/lang/gcc45/work/build/sparc64-portbld-freebsd9.0/libgomp': configure: error: C compiler cannot create executables See `config.log' for more details. gmake[2]: *** [configure-stage1-target-libgomp] Error 77 gmake[2]: Leaving directory `/usr/ports/lang/gcc45/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc45/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1