This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

trouble with bessel function test ...


A test of gsl-0.8 failed on

uname -a
SunOS Octopussy 5.7 Generic_106541-11 sun4u sparc

I have done:

./configure --prefix=/zpr/scratch/achim/gsl_install --with-pic
make && make check

PASS: gsl_sf_bessel_Jnu_e(0.0001, 1.0, &r)
Bus Error
FAIL: test
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory
`/files/c1t4d0s3/zpr/scratch/achim/gsl-0.8/specfunc'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/files/c1t4d0s3/zpr/scratch/achim/gsl-0.8/specfunc'
make: *** [check-recursive] Error 1

I ran specfunc/test in gdb:

PASS: gsl_sf_bessel_Jnu_e(0.0001, 1.0, &r)

Program received signal SIGSEGV, Segmentation fault.
0xa6058 in gsl_sf_bessel_JY_steed_CF2 (nu=0.0001, x=0.10000000000000001,
P=0xffbef428, Q=0xffbef420)
    at bessel.c:628
628       double den = br*br + bi*bi;
(gdb) 


Maybe, this way of initialisation is not possible in pic code...
The gcc version was 2.8.0.

I've tested it with egcs-1.1.2, there was no error in specfunc, but a
compile error at

Making check in sort
make[1]: Entering directory
`/files/c1t4d0s3/zpr/scratch/achim/gsl-0.8/sort'
make  test
make[2]: Entering directory
`/files/c1t4d0s3/zpr/scratch/achim/gsl-0.8/sort'
/zpr/gcc/egcs1.1.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..    -g
-O2 -c test.c
/usr/ccs/bin/as: "/var/tmp/ccaQ2xka.s", line 2207: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccaQ2xka.s", line 2343: error: statement syntax
make[2]: *** [test.o] Error 1
make[2]: Leaving directory
`/files/c1t4d0s3/zpr/scratch/achim/gsl-0.8/sort'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/files/c1t4d0s3/zpr/scratch/achim/gsl-0.8/sort'
make: *** [check-recursive] Error 1

maybe there is a problem with egcs...

With linux, I tried to build gsl-0.8 in a seperate build tree, but failed.
Has anyone tried too?

Yours!

Achim

Achim Gaedke, ZPR
Weyertal 80, 50931 Köln
Tel: +49 221 470 6021



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]