GHC 6.8.1 on Mac OS X 10.5 (Leopard)

haskell at haskell at
Tue Nov 6 22:09:55 EST 2007

I ultimately failed to get 6.8.1 working on OS X 10.5 (with XCode 3.0).

The compile finished, the only odd thing was the often multiply repeated message
"unknown scattered relocation type 4" during compilation.  I have the configure
and build log, but I doubt it holds anything useful.

So now I have a compiler/stage1/ghc-6.8.1 and compiler/stage1/ghc-inplace whcih
work, and a compiler/stage2/ghc-6.8.1 and compiler/stage2/ghc-inplace that
Segmentation Fault when I try to run either.

"make install" works, but installs a Segmentation Faulting compiler.

I give up until someone else can report a recipe for success or posts a binary
for powerpc G4 or has a really convincing hypothesis.

The good news is that the ghc-6.6.1 leftover from OS 10.4.x still works.


haskell at wrote:
> Brian P. O'Hanlon wrote:
>> On Nov 6, 2007 1:29 AM, Manuel M T Chakravarty <chak at> wrote:
>>> A full binary distribution of GHC 6.8.1 for Mac OS X 10.5 (Leopard) is
>>> available from
>> You do not perchance have one for powerpc, do you?  I attempted to
>> bootstrap from GHC 6.6.1, but I keep getting errors about "Illegal
>> Instructions", both using the native gcc 4.0 and my own 4.2 compiler.
>> The error is like this:
> I am also failing to compile ghc-6.8.1 for a powerpc (G4 powerbook).  I am
> giving a try to leave out the extra src tarball to see if that avoids it dying
> again while trying to compile parsec.  Of course, it takes many hours to try to
> compile.

More information about the Glasgow-haskell-users mailing list