Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266622 - [FEATURES=test failure] sci-libs/gsl-1.11 fails poly tests
Summary: [FEATURES=test failure] sci-libs/gsl-1.11 fails poly tests
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 07:03 UTC by Hans de Graaff
Modified: 2010-06-23 08:35 UTC (History)
0 users

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


Attachments
emerge --info output (emerge-info.txt,11.17 KB, text/plain)
2009-04-18 07:04 UTC, Hans de Graaff
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 2009-04-18 07:03:53 UTC
Making check in poly
make[1]: Entering directory `/var/tmp/portage/sci-libs/gsl-1.11/work/gsl-1.11/poly'
make  test
make[2]: Entering directory `/var/tmp/portage/sci-libs/gsl-1.11/work/gsl-1.11/poly'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -pipe -march=k8 -c test.c
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=k8  -Wl,--as-needed -o test test.o libgslpoly.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la -lm 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=k8 -Wl,--as-needed -o test test.o  ./.libs/libgslpoly.a ../ieee-utils/.libs/libgslieeeutils.a ../err/.libs/libgslerr.a ../test/.libs/libgsltest.a ../sys/.libs/libgslsys.a ../utils/.libs/libutils.a -lm  
make[2]: Leaving directory `/var/tmp/portage/sci-libs/gsl-1.11/work/gsl-1.11/poly'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/sci-libs/gsl-1.11/work/gsl-1.11/poly'
FAIL: y.real, gsl_complex_poly_complex_eval ({-2.31 + 0.44i, 4.21 - 3.19i, 0.93 + 1.04i, -0.42 + 0.68i}, 0.49 + 0.95i) (-1.6845078800000004 observed vs 1.82462012000000007 expected) [9]
FAIL: y.imag, gsl_complex_poly_complex_eval ({-2.31 + 0.44i, 4.21 - 3.19i, 0.93 + 1.04i, -0.42 + 0.68i}, 0.49 + 0.95i) (-0.30943988 observed vs 2.30389411999999982 expected) [10]
FAIL: test
==================
1 of 1 test failed
==================
Comment 1 Hans de Graaff gentoo-dev Security 2009-04-18 07:04:46 UTC
Created attachment 188772 [details]
emerge --info output
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-04-20 11:13:46 UTC
From gsl INSTALL file:

"4) With gcc-4.3.2 the tests in the poly/ directory fail due to a
compiler optimization bug which is fixed in later versions of GCC
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38478)."

So I'm not quite sure whether it's fixed in other gcc-4.3.2 revisions.


Comment 3 Hans de Graaff gentoo-dev Security 2009-04-22 05:47:35 UTC
I'm using the currently stable sys-devel/gcc-4.3.2-r3, so I guess we have not fixed the problem in Gentoo versions yet.

Is it just the test that is failing, or does the optimization bug also affect the actual code? From the description you quoted it is not fully clear to me.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-06-23 08:35:30 UTC
removed from tree.