Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117589 - [glibc/tests] sys-libs/glibc fails tst-clock* tests due to segv
Summary: [glibc/tests] sys-libs/glibc fails tst-clock* tests due to segv
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 132788 137431 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-03 05:51 UTC by Jakub Moc (RETIRED)
Modified: 2007-03-13 06:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-01-03 05:51:24 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 16:17:51 UTC
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.
Comment 2 J.Taimr 2006-01-07 08:11:11 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 08:18:27 UTC
(In reply to comment #2)

Entirely different issue, please keep on topic. And *never* downgrade glibc.
Comment 4 J.Taimr 2006-01-07 09:09:14 UTC
Sorry for OT; about downgrade: what else, if half of the system does not work, because of upgrade??
Comment 5 SpanKY gentoo-dev 2006-05-09 16:55:06 UTC
*** Bug 132788 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 15:09:18 UTC
*** Bug 137431 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2007-03-13 06:33:41 UTC
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