Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118164 - glibc-2.3.6-r2 fails during math/test-ifloat
Summary: glibc-2.3.6-r2 fails during math/test-ifloat
Status: RESOLVED DUPLICATE of bug 87249
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-07 05:08 UTC by Mike Auty (RETIRED)
Modified: 2006-01-07 05:11 UTC (History)
0 users

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 Mike Auty (RETIRED) gentoo-dev 2006-01-07 05:08:19 UTC
glibc-2.3.6-r2 fails during the test-ifloat function, giving the following error during the compilation phase:

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-i68 6-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/w ork/build-default-i686-pc-linux-gnu-nptl/math:/var/tmp/portage/glibc-2.3.6-r2/wo rk/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/b uild-default-i686-pc-linux-gnu-nptl/nis:/var/tmp/portage/glibc-2.3.6-r2/work/bui ld-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/math/test-ifloat  > /var/tmp/portage/glibc-2.3.6- r2/work/build-default-i686-pc-linux-gnu-nptl/math/test-ifloat.out
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r2/work/build-default-i686-pc-linux-g nu-nptl/math/test-ifloat.out] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6/mat h'
make[1]: *** [math/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.

and the test-ifloat file contains the following:

testing float (inline functions)
Failure: Test: hypot (0.7, 12.4) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (-0.7, 12.4) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (0.7, -12.4) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (-0.7, -12.4) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (12.4, 0.7) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (-12.4, 0.7) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (12.4, -0.7) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Failure: Test: hypot (-12.4, -0.7) == 12.419742348374220601176836866763271
Result:
 is:          1.24197416305541992188e+01   0x1.8d6e8600000000000000p+3
 should be:   1.24197425842285156250e+01   0x1.8d6e8800000000000000p+3
 difference:  9.53674316406250000000e-07   0x1.00000000000000000000p-20
 ulp       :  1.0000
 max.ulp   :  0.0000
Maximal error of `hypot'
 is      : 1 ulp
 accepted: 0 ulp

Test suite completed:
  2537 test cases plus 2322 tests for exception flags executed.
  9 errors occurred.

This has only happened to me on my AMD-64 box (which is completely compiled in 32-bit mode).  My emerge info is as follows:

Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre13
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache cvs distlocks parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 100dpi 3dnow 75dpi X aac aalib acl acpi adns alsa animation ao audiofile avi bash-completion berkdb bitmap-fonts boundschecking bzip2 cairo ccache cdr cjk client crypt cups dbus djvu dlloader dpms dri dvd dvdr dvi eds emboss encode ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glade glitz glut gnome gnuplot gnutls graphviz gstreamer gtk gtk2 gtkhtml hal hardened idn imagemagick imap imlib java jpeg junit lcms ldap libg++ libwww lua mad maildir mbox mikmod mime mmx mmxext mng mozsvg mp3 mpeg ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl pic pie plot png pop3 postgres python quicktime readline real sdl server snmp spell sqlite sse sse2 ssl svg t1lib tcpd theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xine xml2 xrandr xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 05:11:04 UTC

*** This bug has been marked as a duplicate of 87249 ***