public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: gsl-discuss@sources.redhat.com
Cc: beebe@math.utah.edu
Subject: gsl-1.2: build problems and test failures
Date: Sun, 15 Dec 2002 12:24:00 -0000	[thread overview]
Message-ID: <CMM.0.92.0.1039892008.beebe@suncore.math.utah.edu> (raw)

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

             reply	other threads:[~2002-12-14 18:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-15 12:24 Nelson H. F. Beebe [this message]
2002-12-15 12:24 ` Brian Gough

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMM.0.92.0.1039892008.beebe@suncore.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=gsl-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).