This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Mac os X and embarassing failures of user
- From: "Erik Ø. Sørensen" <sameos at mac dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: Fri, 6 Sep 2002 18:45:18 -0400
- Subject: Mac os X and embarassing failures of user
I have now discovered, to my embarassment, that GCC 3.1, the default,
is not the only compiler on Mac OS 10.2. There is also a gcc2,
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-937.2, based on gcc version 2.95.2
19991024 (release)
Using this compiler, I can compile all of gsl and the test, although
there are problems with -O2, but everything works at -O1. There is a
consistent sig 11 failure with -O2 (that is, I have repeated it a
couple of times):
U54::~/Documents/gsl/gsl-1.2/randist: make check
make test
gcc2 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -Wno-long-double -c
test.c
gcc2: Internal compiler error: program cc1obj got fatal signal 11
The only test (as distinct from compiler failure) that fails is still
the specfunc legendre:
FAIL: gsl_sf_conicalP_0_e(0.0, 100.0, &r)
expected: 0.3009174858819926
obtained: 0.300917485881992 7.027199282265925e-16 2.33526e-15
fracdiff: 1.014601497407329e-15
value not within tolerance of expected value
0.30091748588199202 7.02719928226592486e-16
This happens now without any optimization with gcc2, and is the same
failur I had with GCC 3.1.
Thanks everyone for their kind suggestions,
Erik
--
Erik Ø. Sørensen,
phd student, Economics
Norwegian School of Economics and Business Administration