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 ==================
Created attachment 188772 [details] emerge --info output
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.
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.
removed from tree.