GHC on powerpc (OS X): segmentation fault

Chris Kuklewicz haskell at
Wed Nov 12 07:11:13 EST 2008

I was using macports' binary ghc-6.8.2 so I also suspect this is the same as 
#2380.  Thankfully Christian Maeder's powerpc build is working for me.  I have 
rebuilt all my software and the packages they depend on.

I will update the macports error to point at the ghc trac error.  The 
compilation times for ghc itself are quote long on my hardware, as I learned 
when trying and failing to get the early 6.8.x series to work on powerpc.  Thus 
I won't be stepping up to do the same for ghc-6.10.1 unless I find myself with a 
much less bust life.

PS: I must say that ghc-6.10.1 appears to run much faster than ghc-6.8.3 on my 
G4 laptop. Thanks :)


Simon Marlow wrote:
> Chris Kuklewicz wrote: 
>>> /private/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc  
>>> -H32m -O -I/opt/local/include -L/opt/local/lib -optc-O2 -I../includes 
>>> -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -static  
>>> -I/opt/local/include -I../gmp/gmpbuild -I../libffi/build/include -I. 
>>> -dcmm-lint     -c Apply.cmm -o Apply.o
>>> make[1]: *** [Apply.o] Segmentation fault
>>> make: *** [stage1] Error 2
>> Does anyone have a clue how to proceed?
> Perhaps this is the same as
> but others have managed to compile GHC on PPC/OSX.
> In general we don't have anyone actively working on fixing bugs in the 
> PPC port at the moment, I'd love it if someone could step up and help us 
> keep this platform fully-supported.  Here are the current PPC-specific 
> bugs:
> Cheers,
>     Simon

More information about the Glasgow-haskell-users mailing list