[MacPorts] #15142: ghc 6.8.2 fails to build Adjustor.o (bus error, segmentation fault) on PowerPC

MacPorts noreply at macports.org
Wed Nov 19 15:53:52 PST 2008


#15142: ghc 6.8.2 fails to build Adjustor.o (bus error, segmentation fault) on
PowerPC
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  gwright at macports.org
      Type:  defect                   |      Status:  assigned            
  Priority:  Normal                   |   Milestone:  Port Bugs           
 Component:  ports                    |     Version:  1.6.0               
Resolution:                           |    Keywords:                      
      Port:  ghc                      |  
--------------------------------------+-------------------------------------

Comment(by mike.vasiljevs at gmail.com):

 Replying to [comment:11 macports@…]:
 > Some success: I was able to compile ghc-6.10.1 from source on Mac OS X
 Leopard (10.5.5) on a powerpc G4 with XCode 3.1.  I used a bootstrap
 ghc-6.10.1 from Christian Maeder's ppc/Tiger 6.10.1 binary.

 sound great...

 hm, i also used the bootstrap from fink (v 0.24.23) package ghc (v
 6.4.1-1002)  - so i made a link ghc-inplace -> /sw/bin/ghc-6.4.1 (in
 directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/compiler
 if it will help anyone).

 This way i can compile few more files in ghc-6.8.3/rts directory, until
 the missing Cmm.h problem:

 make
 ../compiler/ghc-inplace -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 Apply.cmm -o Apply.o
 Apply.cmm:13:17: error: Cmm.h: No such file or directory

 If i include ../includes/Cmm.h (for C--) it will give me parse error
 (Apply.cmm:61:42: parse error on input `never'), and i tried to fix some
 macros and defines (something to do with stack mechanism in haskell) but
 without end result as thats beyond my knowledge of the language
 implementation.

 If you are an implementation hacker, this is the right time to help out!

-- 
Ticket URL: <http://trac.macports.org/ticket/15142#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list