public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Mac os X and embarassing failures of user
@ 2002-09-06 15:45 Erik Ø. Sørensen
  2002-09-08 14:58 ` Brian Gough
  0 siblings, 1 reply; 3+ messages in thread
From: Erik Ø. Sørensen @ 2002-09-06 15:45 UTC (permalink / raw)
  To: gsl-discuss

[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Erik Ø. Sørensen.vcf --]
[-- Type: text/directory; x-unix-mode=0644; name="Erik Ø. Sørensen.vcf", Size: 1030 bytes --]

\0B\0E\0G\0I\0N\0:\0V\0C\0A\0R\0D\0
\0V\0E\0R\0S\0I\0O\0N\0:\03\0.\00\0
\0N\0:\0S\0ø\0r\0e\0n\0s\0e\0n\0;\0E\0r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p\0a\0r\0t\0m\0e\0n\0t\0\\0n\0D\0u\0n\0n\0i\0n\0g\0 \0H\0a\0l\0l\0\\0,\0 \09\04\0 \0U\0n\0i\0v\0.\0 \0a\0v\0e\0n\0u\0e\0;\0K\0i\0n\0g\0s\0t\0o\0n\0;\0O\0n\0t\0a\0r\0i\0o\0;\0K\07\0L\0 \03\0N\06\0;\0C\0a\0n\0a\0d\0a\0
\0U\0R\0L\0:\0h\0t\0t\0p\0:\0/\0/\0w\0w\0w\0.\0g\0e\0o\0c\0i\0t\0i\0e\0s\0.\0c\0o\0m\0/\0e\0r\0i\0k\0_\0o\0i\0o\0i\0l\0f\0/\0
\0E\0N\0D\0:\0V\0C\0A\0R\0D\0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Mac os X and embarassing failures of user
  2002-09-06 15:45 Mac os X and embarassing failures of user Erik Ø. Sørensen
@ 2002-09-08 14:58 ` Brian Gough
  2002-09-09  9:21   ` Brian Gough
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Gough @ 2002-09-08 14:58 UTC (permalink / raw)
  To: Erik Ø. Sørensen; +Cc: gsl-discuss

Erik Ø. Sørensen writes:
 > 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

This should be fixed in CVS now.

It looks like the other problems are MacOS/powerpc specific compiler
problems.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Mac os X and embarassing failures of user
  2002-09-08 14:58 ` Brian Gough
@ 2002-09-09  9:21   ` Brian Gough
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Gough @ 2002-09-09  9:21 UTC (permalink / raw)
  To: Erik Ø. Sørensen; +Cc: gsl-discuss

Erik Ø. Sørensen writes:
 > 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

This should be fixed in CVS now.

It looks like the other problems are MacOS/powerpc specific compiler
problems.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-08 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-06 15:45 Mac os X and embarassing failures of user Erik Ø. Sørensen
2002-09-08 14:58 ` Brian Gough
2002-09-09  9:21   ` 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).