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]

gsl-1.2: build problems and test failures


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  -
-------------------------------------------------------------------------------


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