On Fri, Mar 04, 2005 at 04:37:27PM +0000, Malcolm Wallace wrote:
> 
> I am having problems with getting nhc98 to work under Mac OS 10.3.x.
> It builds just fine with ghc (6.2.2), and appears to compile programs
> just fine, but the resulting executables sometimes crash with Bus Error.
> ("make test" gives 55 runtime failures + 55 successes, out of 110 tests.)
> 
> The evidence is that there is some incompatibility between Apple's
> latest gcc (3.3) and nhc98, because if I set the configuration to use
> gcc2 (2.95.2) instead, there are no failures and all 110 tests succeed.

FWIW I also had problems on powerpc Linux (Debian). IME compiling with
ghc rather than gcc tends to have a better chance of "succeeding", but
if compiling with gcc wouldn't have succeeded then the ghc-compiled
nhc98 doesn't work properly either.

Compiling with gcc 3 I got a segfault compiling DErrNo.hs:

http://buildd.debian.org/fetch.php?&pkg=nhc98&ver=1.16-12&arch=powerpc&stamp=1099697591&file=log&as=raw

For now I just use gcc-2.95 on powerpc.


Thanks
Ian

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to