This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: 'make -C specfunc checks' fails on alpha linux with gcc3
after you run ./configure, you need to edit the config.status file as follows:
find the line (line 39 in my config.status file) that says:
s%@CFLAGS@%-g -O2%g
and change it to
s%@CFLAGS@%-g%g
then run the config.status file, and proceed as for a normal build
I did this using the gcc 2.96-98 compiler to build gsl-1.0, and it solved
the problems with failures in the eigen systems routines
At 05:42 PM 3/21/2002 +0100, Martin Quinson wrote:
>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).
John Ketchum
Qualcomm Inc.
9 Damonmill Square Suite 2A
Concord, MA 01742
Office: 60915
Direct: 781-276-0915
Fax: 781-276-0901
Mobile: 617-312-7023