>>> Emerging (5 of 13) sys-libs/glibc-2.3.6-r4 to /root/ROOT/i686-pc-linux-gnu/ >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking glibc-2.3.6.tar.bz2 ;-) >>> checking glibc-linuxthreads-2.3.6.tar.bz2 ;-) >>> checking glibc-libidn-2.3.6.tar.bz2 ;-) >>> checking glibc-2.3.6-patches-1.16.tar.bz2 ;-) >>> checking glibc-manpages-2.3.6-1.tar.bz2 ;-) >>> checking glibc-infopages-2.3.6.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking glibc-2.3.6.tar.bz2 to /var/tmp/portage/glibc-2.3.6-r4/work >>> Unpacking glibc-linuxthreads-2.3.6.tar.bz2 to /var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6 >>> Unpacking glibc-libidn-2.3.6.tar.bz2 to /var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6 >>> Unpacking glibc-2.3.6-patches-1.16.tar.bz2 to /var/tmp/portage/glibc-2.3.6-r4/work >>> Unpacking glibc-manpages-2.3.6-1.tar.bz2 to /var/tmp/portage/glibc-2.3.6-r4/work >>> Unpacking glibc-infopages-2.3.6.tar.bz2 to /var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6 * Applying Gentoo Glibc Patchset 2.3.6-1.16 ... * 1010_all_2.3.5-initstate-r-checks.patch ... [ ok ] * 1020_all_2.3.5-dl-tls.patch ... [ ok ] * 1030_all_glibc-manual-no-perl.patch ... [ ok ] * 1040_all_2.3.3-localedef-fix-trampoline.patch ... [ ok ] * 1050_all_glibc-2.3.5-PR1078-fwrite-segv.patch ... [ ok ] * 1051_all_glibc-2.3.5-PR524-getaddrinfo-order-fix.patch ... [ ok ] * 1052_all_glibc-2.3-PR674-linuxthreads-tls-i586.patch ... [ ok ] * 1053_all_glibc-cvs-allow-libc_cv_slibdir-override.patch ... [ ok ] * 1060_all_glibc-2.3.6-teach-statvfs-more-filesystems.patch ... [ ok ] * 1060_all_glibc-cvs-getcwd-path-max.patch ... [ ok ] * 1065_all_glibc-cvs-cxa_atexit-func-order.patch ... [ ok ] * 1070_all_glibc-2.3.6-memusage-i586.patch ... [ ok ] * 1080_all_glibc-csu-makefile-echo.patch ... [ ok ] * 1090_all_glibc-2.3.6-fix-pr631.patch ... [ ok ] * 1100_all_glibc-2.3.3-china.patch ... [ ok ] * 1150_all_glibc-signed-printf-h.patch ... [ ok ] * 1510_all_glibc-2.3.6-hppa-local-Rminkernel.patch ... [ ok ] * 1510_all_glibc234-hppa-linesep.patch ... [ ok ] * 1520_all_glibc-2.3.6-hppa-submitted-lt.patch ... [ ok ] * 1530_all_glibc-2.3.6-hppa-submitted-sysdeps.patch ... [ ok ] * 1530_all_glibc235-gcc34-m68k-seccomment.patch ... [ ok ] * 1540_all_glibc-2.3.6-hppa-local-gcc-4-profile.patch ... [ ok ] * 1540_all_hppa-drop-utimes.patch ... [ ok ] * 1550_all_glibc-2.3.6-hppa-submitted-iitlbp.patch ... [ ok ] * 1555_all_glibc-2.3.6-hppa-madv.patch ... [ ok ] * 1560_all_glibc-2.3.6-hppa-submitted-fenv-align.patch ... [ ok ] * 1570_all_glibc-2.3.6-hppa-submitted-fpu.patch ... [ ok ] * 1580_all_glibc-2.3.6-hppa-cvs-pie-relocs.patch ... [ ok ] * 1590_all_glibc-2.3.6-hppa-cvs-no-ldbl-128.patch ... [ ok ] * 2010_all_2.3.6-ld.so-madvise.patch ... [ ok ] * 3000_all_2.3.6-dl_execstack-PaX-support.patch ... [ ok ] * 3010_all_2.3.3_pre20040117-pt_pax.patch ... [ ok ] * 4000_all_2.3.4-hardened-sysdep-shared.patch ... [ ok ] * 4010_all_2.3.5-hardened-iconvconfig-unnest.patch ... [ ok ] * 5010_all_2.3.4-features-header-fix.patch ... [ ok ] * 5020_all_2.3.5-gcc4-sanitize-omitfp-optimizations.patch ... [ ok ] * 5021_all_2.3.6-fnmatch.patch ... [ ok ] * 5030_all_2.3.4-kd-types.patch ... [ ok ] * 5055_all_2.3.6-libidn-update-20051201.patch ... [ ok ] * 5063_all_glibc-2.3-dont-build-timezone.patch ... [ ok ] * 5070_all_cross-compile-nptl.patch ... [ ok ] * 5080_all_pthread_cond_destroy.patch ... [ ok ] * 5081_all_2.3.2-nptl-lt.patch ... [ ok ] * 5090_all_divdi3-asm-fix.patch ... [ ok ] * 5100_all_no-aliases-if-unsigned.patch ... [ ok ] * 6000_all_alpha-glibc-2.3.2-decc-compaq.patch ... [ ok ] * 6001_all_alpha-glibc-2.3.5-xstat.patch ... [ ok ] * 6003_all_alpha-glibc-2.3.5-linuxthreads.patch ... [ ok ] * 6100_all_2.3.6-ppc-gcc41.patch ... [ ok ] * 6200_all_arm-glibc-2.3.4-ioperm.patch ... [ ok ] * 6201_all_arm-glibc-2.3.4-fix_bad_pc24.patch ... [ ok ] * 6210_all_arm-glibc-fp-byteorder.patch ... [ ok ] * 6220_all_glibc-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ... [ ok ] * 6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch ... [ ok ] * 6306_all_s390-glibc-2.3-sysdep-include.patch ... [ ok ] * 6400_all_sh-glibc-2.3.2-fpscr_values.patch ... [ ok ] * 6401_all_sh-glibc-2.3.3-sh-nptl-multidir.patch ... [ ok ] * 6402_all_sh-glibc-2.3.3-sh-linux-fcntl_h.patch ... [ ok ] * 6403_all_sh-glibc-2.3.5-memset-fix.patch ... [ ok ] * 6405_all_sh-glibc-2.3.5-sh-nptl-lowlevellock.patch ... [ ok ] * 6406_all_sh-glibc-2.3.6-setjmp.patch ... [ ok ] * 6502_all_glibc-sparc-mman-updates.patch ... [ ok ] * 6605_all_fpu-cw-mips.patch ... [ ok ] * 6615_all_syscall.h.patch ... [ ok ] * 6650_all_gcc4-mem-ipt6-not-addrsable.patch ... [ ok ] * 6655_all_auto-inline.patch ... [ ok ] * 6660_all_glibc-mips-mman-updates.patch ... [ ok ] * 6901_all_2.3.3-new-libm-20051229.patch ... [ ok ] * 6905_all_2.3.3-amd64-string.patch ... [ ok ] * 6910_all_2.3.3-s_ceil.patch ... [ ok ] * Done with patching * Using GNU config files from /usr/share/libtool * Updating scripts/config.sub [ ok ] * Updating scripts/config.guess [ ok ] * Applying glibc-2.3.6-propolice-guard-functions.patch ... [ ok ] * Applying glibc-2.3.5-frandom-detect.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6 ... * ABI: default * CBUILD: x86_64-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: i686-pc-linux-gnu * CBUILD_OPT: * CTARGET_OPT: * CC: i686-pc-linux-gnu-gcc * CFLAGS: -pipe -O2 * Configuring GLIBC for linuxthreads with: --disable-nls --disable-dev-erandom --with-tls --with-__thread --enable-add-ons=linuxthreads,c_stubs,libidn --enable-kernel=2.4.1 --without-selinux --without-cvs --enable-bind-now --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/root/ROOT/i686-pc-linux-gnu//usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc checking build system type... x86_64-pc-linux-gnu checking host system type... i686-pc-linux-gnu running configure fragment for add-on linuxthreads running configure fragment for add-on c_stubs running configure fragment for add-on libidn checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386 libidn/sysdeps/unix sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for gcc... gcc checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/as is GNU as... yes checking whether /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld is GNU ld... yes checking for /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/as... /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/as checking version of /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/as... 2.16.1, ok checking for /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld... /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld checking version of /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld... 2.16.1, ok checking for pwd... /bin/pwd checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking version of i686-pc-linux-gnu-gcc... 3.4.5, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 3.80, ok checking for gnumsgfmt... no checking for gmsgfmt... gmsgfmt checking version of gmsgfmt... 0.14.4, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.8, ok checking for sed... sed checking version of sed... 4.1.4, ok checking for autoconf... autoconf checking whether autoconf works... yes checking whether ranlib is necessary... no checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /bin/sh checking for gawk... gawk checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for .set assembler directive... yes checking for assembler .type directive prefix... @ checking for .symver assembler directive... yes checking for ld --version-script... yes checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking whether __attribute__((visibility())) is supported... yes checking for broken __attribute__((visibility()))... no checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... no checking for .preinit_array/.init_array/.fini_array support... yes checking for libunwind-support in compiler... no checking for -z nodelete option... yes checking for -z nodlopen option... yes checking for -z initfirst option... yes checking for -z relro option... yes checking for -Bgroup option... yes checking for libgcc_s suffix... checking for --as-needed option... yes checking whether --noexecstack is desirable for .S files... yes checking for -z combreloc... yes checking for -z execstack... yes checking for -fpie... yes checking for -fno-unit-at-a-time... yes checking for -fstack-protector... yes checking whether cc puts quotes around section names... no checking for assembler .weak directive... yes checking whether CFI directives are supported... yes checking if -g produces usable source locations for assembler-with-cpp... yes checking for ld --no-whole-archive... yes checking for gcc -fexceptions... yes checking for DWARF2 unwind info support... no_registry_needed checking for __builtin_expect... yes checking for __builtin_memset... no checking for redirection of built-in functions... yes checking for local label subtraction... yes checking for __thread... yes checking for tls_model attribute... yes checking for libgd... no 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 long double... yes checking size of long double... 12 checking for economical random device... has been disabled running configure fragment for sysdeps/i386/elf checking for i386 TLS support... yes running configure fragment for sysdeps/pthread running configure fragment for libidn/sysdeps/unix running configure fragment for sysdeps/unix/sysv/linux checking for egrep... (cached) grep -E checking installed Linux kernel header files... TOO OLD! configure: error: GNU libc requires kernel header files from Linux 2.0.10 or later to be installed before configuring. The kernel header files are found usually in /usr/include/asm and /usr/include/linux; make sure these directories use files from Linux 2.0.10 or later. This check uses , so make sure that file was built correctly when installing the kernel header files. To use kernel headers not from /usr/include/linux, use the configure option --with-headers. !!! ERROR: sys-libs/glibc-2.3.6-r4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile glibc-2.3.6-r4.ebuild, line 1107: Called src_compile glibc-2.3.6-r4.ebuild, line 1118: Called toolchain-glibc_src_compile glibc-2.3.6-r4.ebuild, line 215: Called glibc_do_configure 'linuxthreads' glibc-2.3.6-r4.ebuild, line 905: Called die !!! failed to configure glibc !!! If you need support, post the topmost build error, and the call stack if relevant.