http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836
--- Comment #4 from th.r.klein at web dot de 2011-02-23 17:56:54 UTC --- The original failing process was: ../../env/src/configure --prefix=${HOME}/local --with-mpc=${HOME}/local --with-mpfr=${HOME}/local --with-gmp=${HOME}/local --with-ppl=${HOME}/local --with-cloog=${HOME}/local --with-libelf=${HOME}/local --target=arm-elf-eabi --enable-target-optspace --disable-nls --disable-werror --enable-target-static --disable-target-shared --enable-languages=c,c++ --with-float=soft --without-headers --enable-multilib --enable-tls --enable-lto --with-libexpat-prefix=/usr/local --with-expat=/usr/local --with-python=/usr/local --enable-gold --enable-ld gmake ...<skip messages>... gmake[2]: Leaving directory `/usr/home/thomas/work/build/env_eabi/arm-elf-eabi/libgcc' Checking multilib configuration for libiberty... mkdir arm-elf-eabi/libiberty Configuring in arm-elf-eabi/libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo --split-size=5000000 checking for perl... perl checking build system type... x86_64-unknown-freebsd8.1 checking host system type... arm-elf-eabi checking for arm-elf-eabi-ar... /usr/home/thomas/work/build/env_eabi/./binutils/ar checking for arm-elf-eabi-ranlib... /usr/home/thomas/work/build/env_eabi/./binutils/ranlib checking for arm-elf-eabi-gcc... /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld accepts -g... yes checking for /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld option to accept ISO C89... unsupported checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... unknown checking for _LARGE_FILES value needed for large files... unknown checking how to run the C preprocessor... /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld -E checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld supports -W... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld supports -Wall... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld supports -Wwrite-strings... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld supports -Wc++-compat... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld supports -Wstrict-prototypes... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld supports -pedantic ... yes checking whether /usr/home/thomas/work/build/env_eabi/./gcc/xgcc -B/usr/home/thomas/work/build/env_eabi/./gcc/ -B/usr/home/thomas/local/arm-elf-eabi/bin/ -B/usr/home/thomas/local/arm-elf-eabi/lib/ -isystem /usr/home/thomas/local/arm-elf-eabi/include -isystem /usr/home/thomas/local/arm-elf-eabi/sys-include -L/usr/home/thomas/work/build/env_eabi/./ld and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for sys/file.h... no checking for sys/param.h... no checking for limits.h... yes checking for stdlib.h... (cached) no checking for malloc.h... no checking for string.h... (cached) no checking for unistd.h... (cached) no checking for strings.h... (cached) no checking for sys/time.h... no checking for time.h... no checking for sys/resource.h... no checking for sys/stat.h... (cached) no checking for sys/mman.h... no checking for fcntl.h... no checking for alloca.h... no checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... no checking for sys/systemcfg.h... no checking for stdint.h... (cached) no checking for stdio_ext.h... no checking for process.h... no checking for sys/prctl.h... no checking for sys/wait.h that is POSIX.1 compatible... no checking whether time.h and sys/time.h may both be included... no checking whether errno must be declared... yes checking size of int... 0 checking for a 64-bit type... unsigned long long checking for intptr_t... no checking for uintptr_t... no checking for ssize_t... no checking for pid_t... no checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. gmake[1]: *** [configure-target-libiberty] Error 1 gmake[1]: Leaving directory `/usr/home/thomas/work/build/env_eabi' gmake: *** [all] Error 2 As far as I could see you (by meaning GCC) disabling target-libiberty at specific systems like netbsd rtems vxworks or specific machine types like avr, m68hc11, too. I was able to build a cross compiler (without having a target libc) this way at least for version 4.4.3 and 4.5.2 . Don't get me wrong. Building of target-libiberty and target-zlib per default can be usefull. Only for special cases it should be possible to change this behavior.