Checking multilib configuration... /bin/sh /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/mkinstalldirs x86_64-pc-linux-gnu/libstdc++-v3 ; \ rm -f x86_64-pc-linux-gnu/libstdc++-v3/Makefile || : ; \ cp multilib.out x86_64-pc-linux-gnu/libstdc++-v3/multilib.out mkdir -p -- x86_64-pc-linux-gnu/libstdc++-v3 Configuring in x86_64-pc-linux-gnu/libstdc++-v3 configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include accepts -g... yes checking for /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include option to accept ANSI C... none needed checking for x86_64-pc-linux-gnu-g++... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include checking whether we are using the GNU C++ compiler... yes checking whether /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include accepts -g... yes checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-as... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/as checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether to enable maintainer-specific portions of Makefiles... no configure: CPU config directory is cpu/i486 configure: OS config directory is os/gnu-linux checking for ld used by GCC... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/collect-ld checking if the linker (/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/collect-ld) is GNU ld... yes checking for /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/collect-ld option to reload object files... -r checking for BSD-compatible nm... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/nm checking how to recognise dependant libraries... pass_all checking the maximum length of command line arguments... none checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... no checking for objdir... .libs checking for /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc option to produce PIC... -fPIC -DPIC checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc PIC flag -fPIC -DPIC works... yes checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc static flag -static works... yes finding the maximum length of command line arguments... 49153 checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc supports -c -o file.o... yes checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/collect-ld -m elf_x86_64) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/nm output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking how to run the C++ preprocessor... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -E loading cache ./config.cache within ltconfig checking host system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for objdir... .libs checking for /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc option to produce PIC... -fPIC -DPIC checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc PIC flag -fPIC -DPIC works... yes checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc static flag -static works... no finding the maximum length of command line arguments... (cached) 49153 checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc supports -c -o file.o... (cached) yes checking if /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/collect-ld -m elf_x86_64) supports shared libraries... checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/nm output... failed checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes appending configuration tag "CXX" to libtool checking for exception model to use... call frame checking for compiler with PCH support... yes checking for enabled PCH... yes checking for underlying I/O to use... stdio checking how to run the C preprocessor... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for C locale to use... gnu checking for msgfmt... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for library containing gettext... none required checking for std::allocator base class... new configure: "C" header strategy set to c_std checking for enabled long long specializations... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for mbstate_t... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for enabled wchar_t specializations... yes checking for ISO C99 support in ... yes checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes checking for ISO C99 support in ... yes checking for ISO C99 support in ... yes checking for ISO C99 support in ... yes checking for ISO C99 support in ... yes checking for fully enabled ISO C99 support... yes configure: Debug build flags set to -g3 -O0 checking for additional debug build... no checking for extra compiler flags for building... checking for thread model used by GCC... posix checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/isa_defs.h usability... no checking sys/isa_defs.h presence... no checking for sys/isa_defs.h... no checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking sys/machine.h usability... no checking sys/machine.h presence... no checking for sys/machine.h... no checking fp.h usability... no checking fp.h presence... no checking for fp.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for inttypes.h... (cached) yes checking gconv.h usability... yes checking gconv.h presence... yes checking for gconv.h... yes checking for sys/types.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking for g++ that supports -ffunction-sections -fdata-sections... yes checking for ld that supports -Wl,-z,relro... yes checking for sin in -lm... yes checking for isinf declaration... yes checking for isinf... yes checking for isnan declaration... yes checking for isnan... yes checking for finite declaration... yes checking for finite... yes checking for copysign declaration... yes checking for copysign... yes checking for sincos declaration... yes checking for sincos... yes checking for fpclass declaration... no checking for _fpclass declaration... no checking for qfpclass declaration... no checking for _qfpclass declaration... no checking for hypot declaration... yes checking for hypot... yes checking for float trig functions... yes checking for acosf... yes checking for asinf... yes checking for atanf... yes checking for cosf... yes checking for sinf... yes checking for tanf... yes checking for coshf... yes checking for sinhf... yes checking for tanhf... yes checking for float round functions... yes checking for ceilf... yes checking for floorf... yes checking for expf declaration... yes checking for expf... yes checking for isnanf declaration... yes checking for isnanf... yes checking for isinff declaration... yes checking for isinff... yes checking for atan2f declaration... yes checking for atan2f... yes checking for fabsf declaration... yes checking for fabsf... yes checking for fmodf declaration... yes checking for fmodf... yes checking for frexpf declaration... yes checking for frexpf... yes checking for hypotf declaration... yes checking for hypotf... yes checking for ldexpf declaration... yes checking for ldexpf... yes checking for logf declaration... yes checking for logf... yes checking for log10f declaration... yes checking for log10f... yes checking for modff declaration... yes checking for modff... yes checking for modf declaration... yes checking for modf... yes checking for powf declaration... yes checking for powf... yes checking for sqrtf declaration... yes checking for sqrtf... yes checking for sincosf declaration... yes checking for sincosf... yes checking for finitef declaration... yes checking for finitef... yes checking for long double trig functions... yes checking for acosl... yes checking for asinl... yes checking for atanl... yes checking for cosl... yes checking for sinl... yes checking for tanl... yes checking for coshl... yes checking for sinhl... yes checking for tanhl... yes checking for long double round functions... yes checking for ceill... yes checking for floorl... yes checking for isnanl declaration... yes checking for isnanl... yes checking for isinfl declaration... yes checking for isinfl... yes checking for copysignl declaration... yes checking for copysignl... yes checking for atan2l declaration... yes checking for atan2l... yes checking for expl declaration... yes checking for expl... yes checking for fabsl declaration... yes checking for fabsl... yes checking for fmodl declaration... yes checking for fmodl... yes checking for frexpl declaration... yes checking for frexpl... yes checking for hypotl declaration... yes checking for hypotl... yes checking for ldexpl declaration... yes checking for ldexpl... yes checking for logl declaration... yes checking for logl... yes checking for log10l declaration... yes checking for log10l... yes checking for modfl declaration... yes checking for modfl... yes checking for powl declaration... yes checking for powl... yes checking for sqrtl declaration... yes checking for sqrtl... yes checking for sincosl declaration... yes checking for sincosl... yes checking for finitel declaration... yes checking for finitel... yes checking for __builtin_abs declaration... yes checking for __builtin_abs linkage... yes checking for __builtin_fabsf declaration... yes checking for __builtin_fabsf linkage... yes checking for __builtin_fabs declaration... yes checking for __builtin_fabs linkage... yes checking for __builtin_fabsl declaration... yes checking for __builtin_fabsl linkage... yes checking for __builtin_labs declaration... yes checking for __builtin_labs linkage... yes checking for __builtin_sqrtf declaration... yes checking for __builtin_sqrtf linkage... yes checking for __builtin_sqrt declaration... yes checking for __builtin_sqrt linkage... yes checking for __builtin_sqrtl declaration... yes checking for __builtin_sqrtl linkage... yes checking for __builtin_sinf declaration... yes checking for __builtin_sinf linkage... yes checking for __builtin_sin declaration... yes checking for __builtin_sin linkage... yes checking for __builtin_sinl declaration... yes checking for __builtin_sinl linkage... yes checking for __builtin_cosf declaration... yes checking for __builtin_cosf linkage... yes checking for __builtin_cos declaration... yes checking for __builtin_cos linkage... yes checking for __builtin_cosl declaration... yes checking for __builtin_cosl linkage... yes checking for main in -lm... yes checking for copysignf... yes checking for __signbit... yes checking for __signbitf... yes checking for __signbitl... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for iconv in -liconv... no checking for iconv_open... yes checking for iconv_close... yes checking for iconv... yes checking for nl_langinfo... yes checking for enabled iconv specializations... yes checking for strtold declaration... yes checking for strtold... yes checking for strtof declaration... yes checking for strtof... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking for poll... yes checking for S_ISREG or S_IFREG... S_ISREG checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for writev... yes checking for int64_t... yes checking for LFS support... yes checking whether the target supports thread-local storage... yes checking for locale.h... (cached) yes checking for LC_MESSAGES... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for shared libgcc... yes checking for size_t as unsigned int... no checking for ptrdiff_t as int... no configure: versioning on shared library symbols is gnu checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for RLIMIT_DATA... yes checking for RLIMIT_RSS... yes checking for RLIMIT_VMEM... no checking for RLIMIT_AS... yes checking for RLIMIT_FSIZE... yes checking for testsuite resource limits support... yes checking for setenv declaration... yes checking for setenv... yes updating cache ./config.cache checking for gxx-include-dir... /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 checking for --enable-version-specific-runtime-libs... no checking for install location... /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating libmath/Makefile config.status: creating libsupc++/Makefile config.status: creating src/Makefile config.status: creating po/Makefile config.status: creating testsuite/Makefile config.status: creating scripts/testsuite_flags config.status: creating config.h config.status: executing default-1 commands Adding multilib support to Makefile in /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3 multidirs=32 with_multisubdir= Running configure in multilib subdirs 32 pwd: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3 Running configure in multilib subdir 32 pwd: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu mkdir 32 configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make[2]: *** [configure-target-libstdc++-v3] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build' make: *** [profiledbootstrap] Error 2 * * ERROR: sys-devel/gcc-4.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4595: Called toolchain_src_compile * environment, line 5066: Called gcc_src_compile * environment, line 2922: Called gcc_do_make * environment, line 2752: Called die * The specific snippet of code: * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * The die message: * emake failed with profiledbootstrap * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'. *