GHC 6.8.1 on Mac OS X 10.5 (Leopard)

Don Stewart dons at galois.com
Wed Nov 7 13:51:08 EST 2007


It seems 10.5/PPC/6.8 is currently a lethal combination. (not x86
though, nor 10.4/ppc).

Here's the ticket, add yourself to the CC list.

    http://hackage.haskell.org/trac/ghc/ticket/1843


haskell:
> 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.
> 
> -- 
> Chris
> 
> haskell at list.mightyreason.com wrote:
> > Brian P. O'Hanlon wrote:
> >> On Nov 6, 2007 1:29 AM, Manuel M T Chakravarty <chak at cse.unsw.edu.au> wrote:
> >>> A full binary distribution of GHC 6.8.1 for Mac OS X 10.5 (Leopard) is
> >>> available from
> >>>
> >>>    http://www.cse.unsw.edu.au/~chak/haskell/ghc-6.8.1-i386-apple-darwin.tar.bz2
> >> 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.
> > 
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list