rm -f /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/abi-tag.h.new gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/x86_64/tcb-offsets.sym \ | i686-pc-linux-gnu-gcc -S -o /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/tcb-offsets.hT3 -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -mcpu=i686 -mtune=i686 -pipe -Wstrict-prototypes -I../include -I/dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu -I/dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -x c - \ -MD -MP -MF /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/tcb-offsets.h.dT -MT '/dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/tcb-offsets.h.d /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/tcb-offsets.h' : In function 'dummy': :11: error: 'REG_RBP' undeclared (first use in this function) :11: error: (Each undeclared identifier is reported only once :11: error: for each function it appears in.) :12: error: 'REG_RSP' undeclared (first use in this function) :13: error: 'REG_RBX' undeclared (first use in this function) :14: error: 'REG_R8' undeclared (first use in this function) :15: error: 'REG_R9' undeclared (first use in this function) :16: error: 'REG_R10' undeclared (first use in this function) :17: error: 'REG_R11' undeclared (first use in this function) :18: error: 'REG_R12' undeclared (first use in this function) :19: error: 'REG_R13' undeclared (first use in this function) :20: error: 'REG_R14' undeclared (first use in this function) :21: error: 'REG_R15' undeclared (first use in this function) :22: error: 'REG_RDI' undeclared (first use in this function) :23: error: 'REG_RSI' undeclared (first use in this function) :24: error: 'REG_RDX' undeclared (first use in this function) :25: error: 'REG_RAX' undeclared (first use in this function) :26: error: 'REG_RCX' undeclared (first use in this function) :27: error: 'REG_RIP' undeclared (first use in this function) :32: error: 'struct _libc_fpstate' has no member named 'mxcsr' In file included from ../include/tls.h:6, from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:26, from :1: ../nptl/sysdeps/x86_64/tls.h:24:48: error: asm/prctl.h: No such file or directory make[2]: *** [/dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/ucontext_i.h] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/version-info.hT /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/version-info.h ../nptl/sysdeps/x86_64/tls.h:64:3: error: #error "TLS support is required." sed -e 's/#.*$//' -e '/^[ ]*$/d' ../abi-tags | \ while read conf tagos tagver; do \ test `expr 'x86_64-unknown-linux-gnu' \ : "$conf"` != 0 || continue; \ ( echo "$tagos" | \ sed -e 's/[^0-9xXa-fA-F ]//' \ -e 's/^/#define __ABI_TAG_OS /'; \ echo "#ifndef __ABI_TAG_VERSION"; \ echo "$tagver" | \ sed -e 's/[^0-9xXa-fA-F]/ /g' -e 's/ *$//' \ -e 's/ /,/g' -e 's/^/# define __ABI_TAG_VERSION /'; \ echo "#endif" ) > /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/abi-tag.h.new; \ done make[2]: *** [/dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/tcb-offsets.h] Error 1 if test -r /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/abi-tag.h.new; then mv -f /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/abi-tag.h.new /dev/shm/portage/sys-libs/glibc-2.6.1/work/build-amd64-i686-pc-linux-gnu-nptl/csu/abi-tag.h; \ else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi make[2]: Leaving directory `/dev/shm/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/dev/shm/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1' make: *** [all] Error 2 * * ERROR: sys-libs/glibc-2.6.1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * glibc-2.6.1.ebuild, line 155: Called eblit-run 'src_compile' * glibc-2.6.1.ebuild, line 150: Called eblit-glibc-src_compile * src_compile.eblit, line 168: Called src_compile * glibc-2.6.1.ebuild, line 155: Called eblit-run 'src_compile' * glibc-2.6.1.ebuild, line 150: Called eblit-glibc-src_compile * src_compile.eblit, line 179: Called toolchain-glibc_src_compile * src_compile.eblit, line 122: Called die * The specific snippet of code: * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed" * The die message: * make for amd64 failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:glibc-2.6.1:20071114-074342.log'. *