Gregory Wright | 2 Feb 15:58 2009
Picon
Picon

Re: Segmentation fault trying to build ghc 6.10.1 using macports, Mac OS X 10.5, PPC

Hi David,

On Feb 2, 2009, at 4:48 AM, Christian Maeder wrote:

> David Menendez wrote:
>> I'm trying to upgrade GHC to 6.10.1 using macports on a PowerBook G4
>> running OS X 10.5.5. From what I can tell, I'm getting a segmentation
>> fault from cabal-bin.
>
> On PPC leopard you need to update to XCode 3.1
> http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX
> http://hackage.haskell.org/trac/ghc/ticket/2887
>
> HTH Christian
>

It would be very helpful to know if this solves the problem for you.   
I've had reports
of similar failures on 10.4, but have not been able to reproduce them  
on a ppc/10.4 machine
or a ppc/10.5 machine.

Even with Xcode 3.0, it seems as if not everyone gets tagged by the  
error.

Greg

>>
>> This is possibly related to <http://trac.macports.org/ticket/15142>
>> and <http://hackage.haskell.org/trac/ghc/ticket/2380>.
>>
>>
>> cd extensible-exceptions &&
>> /opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/ 
>> cabal-bin
>> /opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc
>> /opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/ 
>> bootstrapping.conf
>> configure --distpref=dist-bootstrapping
>> --with-compiler=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc
>> --with-hc-pkg=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc-pkg
>> --package-db=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/ 
>> bootstrapping.conf.tmp
>> /bin/sh: line 1: 19203 Segmentation fault
>> /opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/ 
>> cabal-bin
>> /opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc
>> /opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/ 
>> bootstrapping.conf
>> configure --distpref=dist-bootstrapping
>> --with-compiler=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc
>> --with-hc-pkg=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc-pkg
>> --package-db=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/ 
>> bootstrapping.conf.tmp
>> make[1]: *** [bootstrapping.conf] Error 139
>> make: *** [stage1] Error 2
>>
>>
>>

Gmane