Calling MacOS X experts...

Sorry to pollute the ghc list with nhc98 questions, but AFAIK most
of the relevant people inhabit here.  Any help would be gratefully
received.

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.

So, what subtle incompatibilities might be lurking between versions of
gcc here?  I know that Apple introduced some interesting dead-code
stripping stuff which could conceivably be responsible here.
Other Apple-specific features include lazy dynamic loading of symbols.
Are there any other likely culprits?  Might I need to link against some
"framework"s?  Any ideas how to track this down further?

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

Reply via email to