logo       

Re: GHCI crashes on Mac OS X: msg#00021

lang.haskell.glasgow.bugs

Subject: Re: GHCI crashes on Mac OS X

Yes, I can confirm that.

I don't understand the message on the last line. Is GHC confusing GH source files with something else that has the same extension?

It looks like GHCi just tries to load all files passed on the command line that do not have a known extension as an object file.

The GHCi run-time linker for Mac OS X currently doesn't do enough error checking (my fault), so it crashes when it is asked to load a file which is not a valid object file.

I'll add some more error checks to the linker so that in the future, the Mac OS version will behave more like the Linux version (print an error message and abort without segfaulting).

I'm not sure whether it's right or wrong to just pass all unknown files on to the linker; but this isn't Mac OS X-specific, so I'll leave that decision to others.

Cheers,

Wolfgang


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise