GCONV_PATH=/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/iconvdata LC_ALL=C /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/math:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/elf:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nss:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nis:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/rt:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/resolv:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/crypt:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nptl /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nptl/tst-clock2 > /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nptl/tst-clock2.out make[2]: *** [/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nptl/tst-clock2.out] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6/nptl' make[1]: *** [nptl/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6' make: *** [check] Error 2 !!! ERROR: sys-libs/glibc-2.3.6-r2 failed. !!! Function toolchain-glibc_src_test, Line 298, Exitcode 2 !!! nptl glibc did not pass make check !!! If you need support, post the topmost build error, NOT this status message. tst-clock2.out: diff 0->1: 0.101306069 diff 1->2: 0.103831889 diff 2->3: 0.103987973 diff 3->4: 0.103973168 diff 4->5: 0.104013432 difference between thread 5 and 6 too small (0.095967494) Hmmm? emerge --info: Portage 2.0.54 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Sempron(tm) Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~maint ~overlay" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect confcache distlocks parallel-fetch sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://ftp.fi.muni.cz/pub/linux/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-php-overlay/production-ready /usr/local/overlays/gentoo-php-overlay/experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow acpi apache2 apm bash-completion bcmath berkdb bzip2 calendar crypt cscope ctype curl curlwrappers dba dbase dbm dbx exif expat fbcon freetds ftp gd gdbm gif iconv imap innodb jpeg lcms libg++ libwww maildir mcal memlimit mhash mime ming mmx mp3 mpeg mssql mysql mysqli ncurses nls nptl nptlonly odbc offensive pam pcntl pcre pdflib perl php png pnp posix python readline sasl session sharedmem simplexml soap sockets spl sqlite sse ssl sysvipc tcpd tidy tiff tokenizer truetype udev unicode vhosts wddx xml xml2 xmlrpc xsl zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL
Round two: fails on tst-clock_nanosleep test. GCONV_PATH=/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/iconvdata LC_ALL=C /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/math:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/elf:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nss:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nis:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/rt:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/resolv:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/crypt:/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/nptl /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/rt/tst-clock_nanosleep > /var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/rt/tst-clock_nanosleep.out make[2]: *** [/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-gnu-nptl/rt/tst-clock_nanosleep.out] Error 1 tst-clock_nanosleep.out: clock_nanosleep didn't sleep long enough Uh eh? Don't think these test are even remotely reliable/sane.
Similarly here... It seems, glibc-2.3.6-r2 is broken. The emerge went o.k. in my case, but then many applications did not work anymore. The message was always the same: 'xxxx: Accessing a corrupted shared library'. First time detected by vmware (even /etc/init.d/vmware start does not work), but downgrade to glibc-2.3.5-r3 failed with: 'checking size of long double... configure: error: cannot compute sizeof (long double), 77', and in the config.log was again the message: '/var/tmp/portage/glibc-2.3.5-r3/work/glibc-2.3.5/configure: line 7426: ./conftest: Accessing a corrupted shared library' The attempt to reemerge the glibc-2.3.6-r2 itself failed with the identical error during compilation! Return to glibc-2.3.5-r3 (problematic, because it cannot be recompiled) solved all these problems.
(In reply to comment #2) Entirely different issue, please keep on topic. And *never* downgrade glibc.
Sorry for OT; about downgrade: what else, if half of the system does not work, because of upgrade??
*** Bug 132788 has been marked as a duplicate of this bug. ***
*** Bug 137431 has been marked as a duplicate of this bug. ***
src_test() is not supported in versions older than glibc-2.5-r1 ... if that version fails a test, then open a new bug report with relevant information