Hi Brian,
I got an unexpected test failure in gsl-1.14
make[1]: Entering directory `/tmp/GSL/gsl-1.14/linalg'
( 5, 3)[2,1]: 0.00349227666295463118 0.00349227666295377857
FAIL: QRPT_update m(5,3) [182]
FAIL: QRPT Rank-1 Update [191]
FAIL: test
==================
1 of 1 test failed
==================
make[1]: *** [check-TESTS] Error 1
My setup is as follows: gsl-1.14; Ubuntu 10.04 (Lucid Lynx) linux on
x86 (32bit) Intel CoreDuo, gcc-4.4.3
compiled with '-g' (or -ggdb) debug option and '-D_GNU_SOURCE' :
Optimizing build with "-O2" passes all the tests OK.
I can make it fail by:
> cd linalg
linalg> make clean
linalg> make check CFLAGS=-g
I can make it pass by
linalg> make clean
linalg> make check CFLAGS=-O2
when compiled with CFLAGS="-g -O2" the test passes OK. It seems that
the problem is limited to "-g" ("-ggdb") with no optimization. IMHO,
one possibility might be an uninitialized variable somewhere that gets
random garbage when compiled with -g.
--Leo--
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl