These are the packages that would be built, in order: Calculating dependencies .... done! [ebuild R ] sys-libs/glibc-2.18-r1:2.2 USE="(multilib) -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-libs/glibc-2.18-r1 * glibc-2.18.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * glibc-2.18-patches-4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] make -j1 -s glibc-test make -j1 -s glibc-test >>> Unpacking source... * Checking gcc for __thread support ... [ ok ] * Checking kernel version (3.12.0 >= 2.6.16) ... [ ok ] * Checking linux-headers version (3.13.0 >= 2.6.16) ... [ ok ] >>> Unpacking glibc-2.18.tar.xz to /var/tmp/portage/sys-libs/glibc-2.18-r1/work >>> Unpacking glibc-2.18-patches-4.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.18-r1/work * Applying Gentoo Glibc Patchset 2.18-4 ... * 00_all_0001-disable-ldconfig-during-install.patch ... [ ok ] * 00_all_0002-workaround-crash-when-handling-signals-in-static-PIE.patch ... [ ok ] * 00_all_0003-make-fortify-logic-checks-less-angry.patch ... [ ok ] * 00_all_0004-Fix-localedef-segfault-when-run-under-exec-shield-Pa.patch ... [ ok ] * 00_all_0005-reload-etc-resolv.conf-when-it-has-changed.patch ... [ ok ] * 00_all_0006-nptl-support-thread-stacks-that-grow-up.patch ... [ ok ] * 00_all_0007-rtld-do-not-ignore-arch-specific-CFLAGS.patch ... [ ok ] * 00_all_0008-nptl-handle-EAGAIN-with-some-futex-operations.patch ... [ ok ] * 00_all_0009-gentoo-support-running-tests-under-sandbox.patch ... [ ok ] * 00_all_0010-gentoo-disable-building-in-timezone-subdir.patch ... [ ok ] * 00_all_0011-arm-fix-PIC-vs-SHARED-typos.patch ... [ ok ] * Skipping 00_all_0012-mips-add-clock_-g-s-ettime-symbol-compat-hacks.patch due to EPATCH_EXCLUDE ... * 00_all_0013-alpha-Fix-signal-thunk-unwind-info.patch ... [ ok ] * 00_all_0014-hppa-add-fanotify_mark.patch ... [ ok ] * 00_all_0015-Accept-make-versions-4.0-and-greater.patch ... [ ok ] * 00_all_0016-Don-t-use-broken-DL_AUTO_FUNCTION_ADDRESS.patch ... [ ok ] * 00_all_0017-ptrace.h-add-__-prefix-to-ptrace_peeksiginfo_args.patch ... [ ok ] * 00_all_0018-ia64-add-__-prefix-to-pt_all_user_regs-ia64_fpreg-BZ.patch ... [ ok ] * 00_all_0019-ARM-Fix-clone-code-when-built-for-Thumb.patch ... [ ok ] * 00_all_0020-Fix-PI-mutex-check-in-pthread_cond_broadcast-and-pth.patch ... [ ok ] * 00_all_0021-CVE-2013-4237-BZ-14699-Buffer-overflow-in-readdir_r.patch ... [ ok ] * 00_all_0022-elf-setup-vdso.h-setup_vdso-Fix-missing-string-termi.patch ... [ ok ] * 00_all_0023-PowerPC-fix-POWER7-memrchr-for-some-large-inputs.patch ... [ ok ] * 00_all_0024-Fix-memory-leaks-in-libio-on-allocation-failure.patch ... [ ok ] * 00_all_0025-Fix-memory-leak-in-stdlib-isomac.c.patch ... [ ok ] * 00_all_0026-Fix-stack-overflow-due-to-large-AF_INET6-requests.patch ... [ ok ] * 00_all_0027-BZ-15754-CVE-2013-4788.patch ... [ ok ] * 00_all_0028-malloc-Check-for-integer-overflow-in-pvalloc.patch ... [ ok ] * 00_all_0029-malloc-Check-for-integer-overflow-in-valloc.patch ... [ ok ] * 00_all_0030-malloc-Check-for-integer-overflow-in-memalign.patch ... [ ok ] * 00_all_0031-PowerPC-Fix-POINTER_CHK_GUARD-thread-register-for-PP.patch ... [ ok ] * 00_all_0032-Fix-build-on-pre-v9-32-bit-Sparc.patch ... [ ok ] * 00_all_0033-Fix-sparc-64-bit-GMP-ifunc-resolution-in-static-buil.patch ... [ ok ] * 00_all_0034-ARM-Fix-clone-build-for-ARMv4.patch ... [ ok ] * 00_all_0035-alpha-Fix-tls-macros.h.patch ... [ ok ] * Done with patching * Using GNU config files from /usr/share/gnuconfig * Updating scripts/config.sub [ ok ] * Updating scripts/config.guess [ ok ] >>> Source unpacked in /var/tmp/portage/sys-libs/glibc-2.18-r1/work >>> Compiling source in /var/tmp/portage/sys-libs/glibc-2.18-r1/work/glibc-2.18 ... * Building glibc for ABIs: x86 amd64 * ABI: x86 * CBUILD: x86_64-pc-linux-gnu * CHOST: x86_64-pc-linux-gnu * CTARGET: x86_64-pc-linux-gnu * CBUILD_OPT: i686-pc-linux-gnu * CTARGET_OPT: i686-pc-linux-gnu * CC: clang -fno-color-diagnostics -m32 * ASFLAGS: * CFLAGS: -march=corei7 -g -pipe -O2 -fno-strict-aliasing * CPPFLAGS: * CXXFLAGS: -O2 -fno-strict-aliasing * LDFLAGS: -Wl,-O1 -Wl,--as-needed * Manual CC: clang -fno-color-diagnostics -m32 * Configuring GLIBC for nptl /var/tmp/portage/sys-libs/glibc-2.18-r1/work/glibc-2.18/configure --disable-stackguard-randomization --enable-add-ons=nptl,c_stubs,libidn,ports --enable-kernel=2.6.16 --without-selinux --without-cvs --enable-bind-now --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib32/misc/glibc --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.18-r1 p4 --enable-obsolete-rpc --disable-systemtap --disable-nscd checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... clang -fno-color-diagnostics -m32 checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -fno-color-diagnostics -m32 accepts -g... yes checking whether we are using the GNU C++ compiler... no checking whether false accepts -g... no checking for i686-pc-linux-gnu-readelf... no checking for readelf... readelf checking for sysdeps preconfigure fragments... x86_64 configure: running configure fragment for add-on nptl configure: running configure fragment for add-on c_stubs configure: running configure fragment for add-on libidn checking add-on ports for preconfigure fragments... aarch64 alpha am33 arm hppa ia64 m68k microblaze mips tile checking for assembler and linker STT_GNU_IFUNC support... no checking whether .text pseudo-op must be used... yes checking sysdep dirs... nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/i386/nptl sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/x86/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/x86 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic configure: WARNING: add-on ports contributed no useful sysdeps directories checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking whether /usr/bin/x86_64-pc-linux-gnu-as is GNU as... yes checking whether /usr/bin/x86_64-pc-linux-gnu-ld is GNU ld... yes checking for /usr/bin/x86_64-pc-linux-gnu-as... /usr/bin/x86_64-pc-linux-gnu-as checking version of /usr/bin/x86_64-pc-linux-gnu-as... 2.24, ok checking for /usr/bin/x86_64-pc-linux-gnu-ld... /usr/bin/x86_64-pc-linux-gnu-ld checking version of /usr/bin/x86_64-pc-linux-gnu-ld... 2.24, ok checking for i686-pc-linux-gnu-gcc... (cached) clang -fno-color-diagnostics -m32 checking version of clang -fno-color-diagnostics -m32... 3.3, bad checking for gnumake... no checking for gmake... gmake checking version of gmake... 4.0, ok checking for gnumsgfmt... no checking for gmsgfmt... gmsgfmt checking version of gmsgfmt... 0.18.3, ok checking for makeinfo... makeinfo checking version of makeinfo... 5.2, ok checking for sed... sed checking version of sed... 4.2.2, ok checking for gawk... gawk checking version of gawk... 4.1.0, ok checking for i686-pc-linux-gnu-nm... no checking for nm... nm checking for autoconf... autoconf checking whether autoconf works... no configure: error: *** These critical programs are missing or too old: gcc *** Check the INSTALL file for required versions. * ERROR: sys-libs/glibc-2.18-r1::gentoo failed (compile phase): * failed to configure glibc * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3310: Called eblit-run 'src_compile' * environment, line 902: Called eblit-glibc-src_compile * src_compile.eblit, line 245: Called src_compile * environment, line 3310: Called eblit-run 'src_compile' * environment, line 902: Called eblit-glibc-src_compile * src_compile.eblit, line 253: Called toolchain-glibc_src_compile * src_compile.eblit, line 151: Called glibc_do_configure 'nptl' * src_compile.eblit, line 113: Called die * The specific snippet of code: * "$@" || die "failed to configure glibc" * * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.18-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.18-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.18-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.18-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/glibc-2.18-r1/work/build-x86-x86_64-pc-linux-gnu-nptl' * S: '/var/tmp/portage/sys-libs/glibc-2.18-r1/work/glibc-2.18' >>> Failed to emerge sys-libs/glibc-2.18-r1, Log file: >>> '/var/tmp/portage/sys-libs/glibc-2.18-r1/temp/build.log' * Messages for package sys-libs/glibc-2.18-r1: * ERROR: sys-libs/glibc-2.18-r1::gentoo failed (compile phase): * failed to configure glibc * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3310: Called eblit-run 'src_compile' * environment, line 902: Called eblit-glibc-src_compile * src_compile.eblit, line 245: Called src_compile * environment, line 3310: Called eblit-run 'src_compile' * environment, line 902: Called eblit-glibc-src_compile * src_compile.eblit, line 253: Called toolchain-glibc_src_compile * src_compile.eblit, line 151: Called glibc_do_configure 'nptl' * src_compile.eblit, line 113: Called die * The specific snippet of code: * "$@" || die "failed to configure glibc" * * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.18-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.18-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.18-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.18-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/glibc-2.18-r1/work/build-x86-x86_64-pc-linux-gnu-nptl' * S: '/var/tmp/portage/sys-libs/glibc-2.18-r1/work/glibc-2.18'