* gsl-1.2: build problems and test failures
@ 2002-12-15 12:24 Nelson H. F. Beebe
2002-12-15 12:24 ` Brian Gough
0 siblings, 1 reply; 2+ messages in thread
From: Nelson H. F. Beebe @ 2002-12-15 12:24 UTC (permalink / raw)
To: gsl-discuss; +Cc: beebe
On Apple Darwin 6.2 with gcc-3.2.1 (the latest release), gsl-1.2 fails
to build, with this error:
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libgslcblas.0.0.0.dylib sasum.lo ... xerbla.lo -lc -install_name
/usr/local/lib/libgslcblas.0.dylib -compatibility_version 1
-current_version 1.0
gcc: suppress: No such file or directory
gcc: /usr/local/lib/libgslcblas.0.dylib: No such file or directory
gcc: 1: No such file or directory
gcc: 1.0: No such file or directory
gcc: unrecognized option `-compatibility_version'
gcc: unrecognized option `-current_version'
make[2]: Leaving directory `/local/build/gsl-1.2/cblas'
make[2]: *** [libgslcblas.la] Error 1
On Alpha systems (OSF/1 4.0, OSF/1 5.1, and GNU/Linux 6.2), I get
about 1400 failure messages like this:
FAIL: herm(4), eigenvalue(0,0), real, unsorted (-1 observed vs 0.99999999999999978 expected)
FAIL: herm(4), eigenvalue(0,0), imag, unsorted (-5.2946281698401082e-315 observed vs
5.2946281698401082e-315 expected)
The fact that this occurs under three different operating systems,
with gcc-2.95.3 (OSF/1 4.0 and GNU/Linux 6.2) and gcc-2.9-gnupro-99r1
(OSF/1 5.1) is suspicious: it may be that an architectural assumption
is being violated, or that a gcc compiler bug has been exposed. To
test this idea, I then did new builds on OSF/1 4.0 and 5.1 using
native c89 and cxx compilers: all tests passed.
On Sun Solaris 2.7 and 2.8, I get the same link failure as on Apple Darwin:
gcc -shared sasum.lo saxpy.lo ... xerbla.lo -L/usr/local/lib -lm -lc -Wl,-rpath -Wl,-soname
-Wl,libgslcblas.so.0 -o .libs/libgslcblas.so.0.0.0
/usr/local/sparc-sun-solaris2.7/bin/ld: cannot open libgslcblas.so.0: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgslcblas.la] Error 1
On Sun Solaris 2.9, I did a build with the new native Sun compilers
from the Forte Developer 7 5.4 release. This succeeded, but there are
some serious test failures:
FAIL: gsl_acosh(1.1) (1071766846 observed vs 0.443568254385115213 expected)
FAIL: gsl_asinh(0.1) (1069211767 observed vs 0.0998340788992075623 expected)
FAIL: gsl_asinh(-0.1) (-1069211767 observed vs -0.0998340788992075623 expected)
FAIL: gsl_asinh(1.0) (1073127582 observed vs 0.881373587019543048 expected)
FAIL: gsl_asinh(-1.0) (-1073127582 observed vs -0.881373587019543048 expected)
FAIL: gsl_atanh(0.1) (535181539.5 observed vs 0.10033534773107558 expected)
FAIL: gsl_atanh(-0.1) (-535181539.5 observed vs -0.10033534773107558 expected)
FAIL: gsl_atanh(0.9) (538509312 observed vs 1.47221948958322013 expected)
FAIL: gsl_atanh(0.9) (-538509312 observed vs -1.47221948958322013 expected)
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 581 4148 -
- University of Utah Internet e-mail: beebe@math.utah.edu -
- Department of Mathematics, 110 LCB beebe@acm.org beebe@computer.org -
- 155 S 1400 E RM 233 beebe@ieee.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gsl-1.2: build problems and test failures
2002-12-15 12:24 gsl-1.2: build problems and test failures Nelson H. F. Beebe
@ 2002-12-15 12:24 ` Brian Gough
0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2002-12-15 12:24 UTC (permalink / raw)
To: Nelson H. F. Beebe; +Cc: gsl-discuss
Nelson H. F. Beebe writes:
> On Apple Darwin 6.2 with gcc-3.2.1 (the latest release), gsl-1.2 fails
> to build, with this error:
> On Alpha systems (OSF/1 4.0, OSF/1 5.1, and GNU/Linux 6.2), I get
> about 1400 failure messages like this:
> On Sun Solaris 2.7 and 2.8, I get the same link failure as on Apple Darwin:
> On Sun Solaris 2.9, I did a build with the new native Sun compilers
> from the Forte Developer 7 5.4 release. This succeeded, but there are
> some serious test failures:
> FAIL: gsl_acosh(1.1) (1071766846 observed vs 0.443568254385115213 expected)
Thanks for the bug reports!
I think the shared-library errors are libtool related and probably
have to be worked around with ./configure --disable-shared. I've
upgraded the libtool in GSL to the latest stable version (1.4.1 ->
1.4.3), it won't fix these problems but it might help some others.
The error in the linalg/herm tests is a compiler bug in those versions
of gcc on alpha.
The error for acosh was due to a bug in the gsl configure script (now
fixed).
--
Brian Gough
----------------------------------------------------------------------
Network Theory Ltd Phone: 0117 3179309 (+44 117 3179309)
15 Royal Park WWW: http://www.network-theory.co.uk/
Bristol BS8 3AL Email: brian.gough@network-theory.co.uk
United Kingdom
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-15 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-15 12:24 gsl-1.2: build problems and test failures Nelson H. F. Beebe
2002-12-15 12:24 ` Brian Gough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).