Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101071 - glibc 2.3.5 linuxthreads hypot function test fails (maybe a gcc bug ?)
Summary: glibc 2.3.5 linuxthreads hypot function test fails (maybe a gcc bug ?)
Status: RESOLVED DUPLICATE of bug 87249
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 02:03 UTC by Jocelyn Mayer
Modified: 2005-09-29 05:32 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 Jocelyn Mayer 2005-08-02 02:03:45 UTC
Trying to update glibc, using
gcc version 3.3.5-20050130 (Gentoo Hardened Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)

/var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-linux-gnu-linuxthreads/math/test-ifloat.out
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

As expected, I got the same error with hypot (-0.7, 12.4), hypot (0.7, -12.4),
hypot (-0.7, -12.4), hypot (12.4, 0.7), hypot (-12.4, 0.7), hypot (12.4, -0.7)
and hypot (-12.4, -0.7)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Build fails.

Expected Results:  
Install a correct glibc !


Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-hardened-r3 i686)
=================================================================
System uname: 2.6.10-hardened-r3 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fexpensive-optimizations"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg digest loadpolicy maketest sandbox severe sfperms
strict test userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr
http://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://src.gentoo.pl
http://gentoo.tiscali.nl/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j 1"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl acpi adns apache2 apm bash-completion berkdb bzlib caps crypt ctype
cups curl curlwrappers dio dlloader emacs fam fastcgi ftp gnutls hardened
hardenedphp iconv imap ipv6 jpeg maildir makecheck mbox memlimit mhash mime mmap
mmx ncurses nis nocardbus nocd nptl offensive pam pdflib php pic pie png posix
readline sasl shared sharedmem skey slang snmp sockets sse ssl sysvipc szip tcpd
tiff truetype unicode userlocales vhosts wmf x86 xpm zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-08-02 02:52:20 UTC
Looks like a duplicate of bug 99785. Please check whether you see the same error
messages as in the bug mentioned above.
Comment 2 Kevin F. Quinn (RETIRED) gentoo-dev 2005-09-29 05:32:22 UTC
Marking duplicate - I don't think the linuxthreads/nptl difference is relevant.

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