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]
Other format: [Raw text]

'make -C specfunc checks' fails on alpha linux with gcc3


On Wed, Mar 20, 2002 at 10:34:02AM -0500, John Ketchum wrote:
> I had the same symptoms.  It was a compiler bug associated with gcc 
> 2.96.  I'm not up on the details of gcc versions, but I solved the problem 
> by turning off optimization for the build.  Or you can change 
> compilers.  You'll find more details in a previous thread.

Thanks, I've found 
http://sources.redhat.com/ml/gsl-discuss/2001/msg00727.html
which says that I should switch to gcc-3.0. That's what I did, and I go a
bit further. But not that much ;)

mquinson@rabaud:~/gsl-1.1.1$ CC=gcc-3.0 ./configure && make && make check | grep -v PASS
[...]
make[2]: Leaving directory /home/mquinson/gsl-1.1.1/eigen'
make[1]: Leaving directory /home/mquinson/gsl-1.1.1/eigen'
Making check in specfunc
make[1]: Entering directory /home/mquinson/gsl-1.1.1/specfunc'
make  test
make[2]: Entering directory /home/mquinson/gsl-1.1.1/specfunc'
make[2]: test' is up to date.
make[2]: Leaving directory /home/mquinson/gsl-1.1.1/specfunc'
make  check-TESTS
make[2]: Entering directory /home/mquinson/gsl-1.1.1/specfunc'
FAIL: gsl_sf_coupling_9j_e(4, 2, 4, 3, 3, 2, 1, 1, 2, &r)
  expected:  -0.0408248290463863
  obtained:  0.01020620726159657   2.266233259184196e-17  2.22045e-15
  fracdiff:    1.666666666666666
  value/expected not consistent within reported error
  value not within tolerance of expected value
   0.0102062072615965692  2.26623325918419602e-17
FAIL: Coupling Coefficients
FAIL: test
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory /home/mquinson/gsl-1.1.1/specfunc'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory /home/mquinson/gsl-1.1.1/specfunc'
make: *** [check-recursive] Error 1
mquinson@rabaud:~/gsl-1.1.1$ gcc-3.0 --version
3.0.4
mquinson@rabaud:~/gsl-1.1.1$ uname -a
Linux rabaud 2.4.6 #1 Mon Jul 9 15:50:12 CEST 2001 alpha unknown



How did you turn the optimization of ? by editing all Makefiles, or there is
a magic option to the ./configure ?



Thanks, Mt.

> At 09:42 AM 3/20/2002 +0100, Martin Quinson wrote:
> >On Tue, Mar 19, 2002 at 10:54:18PM +0100, Martin Quinson wrote:
> >> Hello,
> >>
> >> As the title says, make checks fails on the eigen directory. The
> >> architecture, as reported by config.guess is: alphaev67-unknown-linux-gnu
> >>
> >> The system is a Debian box, /etc/debian_version is: 2.2
> >>
> >> ./gsl-config --version reports: 1.1.1
> >>
> >> the complete output of the check in this dir is attached (sorry for RTC
> >> users).


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