Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177300 - [glibc/tests] glibc-2.5-r2 fails test-double
Summary: [glibc/tests] glibc-2.5-r2 fails test-double
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-06 10:26 UTC by Hans de Graaff
Modified: 2009-05-10 17:29 UTC (History)
3 users (show)

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


Attachments
emerge --info output (emerge-info.txt,8.86 KB, text/plain)
2007-05-06 12:38 UTC, Hans de Graaff
Details
emerge info (emerge-info,3.25 KB, text/plain)
2007-08-14 13:39 UTC, Michał Kiedrowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2007-05-06 10:26:12 UTC
sys-libs/glibc-2.5-r2 doesn't pass the 'test' phase on my AMD64 system. As far as I can tell this is the same problem already mentioned in bug 152126, and this bug requests to open a new bug so here it is. 

The test that fails is:

GCONV_PATH=/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata LC_ALL=C   /va
r/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/
tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.5-r2/w
ork/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-
gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage
/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.5-r2/work/bui
ld-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl
/rt:/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-lib
s/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86
-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math
/test-double  > /var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-double.ou
t
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-double.out]
 Error 1


The contents of /var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/math/test-double.out :

testing double (without inline functions)
Failure: Real part of: clog10 (0 + 0 i) == -inf + 0.0 i plus division by zero exception: Exception "Invalid operation" set
Failure: Real part of: cpow (NaN + NaN i, NaN + NaN i) == NaN + NaN i: Exception "Invalid operation" set
Failure: Real part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i: Exception "Invalid operation" set

Test suite completed:
  2954 test cases plus 2585 tests for exception flags executed.
  3 errors occurred.


The upstream bug also mentioned on bug 152126: http://sourceware.org/bugzilla/show_bug.cgi?id=1384

Please let me know if more information is needed.
Comment 1 SpanKY gentoo-dev 2007-05-06 11:49:03 UTC
you should of course post `emerge --info` with all bug reports
Comment 2 Hans de Graaff gentoo-dev Security 2007-05-06 12:38:14 UTC
Created attachment 118328 [details]
emerge --info output

The emerge --info output that I originally wanted to include but couldn't fit in the comments section.
Comment 3 Michał Kiedrowicz 2007-08-14 13:37:53 UTC
sys-libs/glibc-2.6.1 also fails on test-double. However, error is different:

testing double (without inline functions)
Failure: Real part of: cacos (0 + 0 i) == pi/2 - 0 i: Exception "Invalid operation" set
Failure: Real part of: cacos (-inf - inf i) == 3/4 pi + inf i: Exception "Invalid operation" set
Failure: Real part of: cacos (inf - inf i) == pi/4 + inf i: Exception "Invalid operation" set

Test suite completed:
  2969 test cases plus 2600 tests for exception flags executed.
  3 errors occurred.

Comment 4 Michał Kiedrowicz 2007-08-14 13:39:00 UTC
Created attachment 128068 [details]
emerge info
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2009-05-10 01:17:16 UTC
Seems fine on amd64/x86 with glibc-2.9.  If it fails for you, open a new bug for the specific failure.
Comment 6 Hans de Graaff gentoo-dev Security 2009-05-10 17:29:55 UTC
I currently have glibc-2.8_p20080602-r1 installed and I don't recall seeing this issue when running the tests, so closing seems the right approach (although I thing WONTFIX makes more sense as a resolution).