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]

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
BEGIN:VCARD
VERSION:3.0
N:Sørensen;Erik Ø.;;;
FN:Erik Ø. Sørensen
ORG:Norwegian School of Economics;
TITLE:phd student
EMAIL;type=WORK;type=pref:erik.sorensen@nhh.no
TEL;type=WORK;type=pref:1 613 533 6000x74030
TEL;type=HOME:1 613 545 3397
TEL;type=FAX:1 613 533 2257
ADR;type=HOME;type=pref:;;233 Johnson St.;Kingston;Ontario;K7L 1Y2;Canada
ADR;type=WORK:;;Queen's University\nEconomics Department\nDunning Hall\, 94 Univ. avenue;Kingston;Ontario;K7L 3N6;Canada
URL:http://www.geocities.com/erik_oioilf/
END:VCARD

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