ghc installation failure on Mac OS 10.4 / PowerPC

Ryan Schmidt ryandesign at macports.org
Tue Aug 26 00:38:57 PDT 2008


On Aug 26, 2008, at 02:02, Christoph Ludwig wrote:

> a colleague of mine is unable to install darcs on his 10.4.11 /  
> PowerBook G4
> due to a problem with the required ghc port (currently in revision  
> 6.8.3_0).
> Some Lisp library we rely on uses darcs as its only distribution  
> method (for
> reasonably recent revisions, at least), so this is a blocking issue  
> for us.
>
> Apparently, the bootstrapping fails because the bootstrapping  
> complier /
> linker fails on this OS / architecture combination, cf. the error  
> message
> below. The problem seems to be related to both
> https://trac.macports.org/ticket/15923 and a ticket in ghc's bug  
> tracking
> system
> http://www.nabble.com/-GHC---2380%3A-Adjustor.o-crash-compiling- 
> ghc-6.8.3-on-iBook-G4-10.4.11-td17993124.html#a17993124.


> == make all -r;
>  in
> /opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> ghc/work/ghc-6.8.3/rts
> ---------------------------------------------------------------------- 
> --
> ../compiler/ghc-inplace -optc-O -optc-I/opt/local/include -optc-Wall
> -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism
> -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I/opt/local/ 
> include
> -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O
> -I/opt/local/include -L/opt/local/lib -optc-O2 -package-name rts - 
> static
> -I/opt/local/include -I../gmp/gmpbuild -I. -#include HCIncludes.h
> -dcmm-lint     -c Adjustor.c -o Adjustor.o
> make[1]: *** [Adjustor.o] Bus error
> make: *** [stage1] Error 1


Yes, this appears to be a ghc bug.

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

You will have to discuss the issue with the developers of ghc; they  
are the ones who need to fix the problem.



More information about the macports-users mailing list