#17025: GHC 6.8.3 on PPC Mac OS 10.4 --------------------------------------+------------------------------------- Reporter: rzilibowitz@yahoo.com.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: --------------------------------------+------------------------------------- Below is the last excerpt from the build transcript (with the error at the bottom). I am attempting to build the GHC port on Mac OS 10.4 on a PPC G4 iBook. {{{ ------------------------------------------------------------------------ echo "import System.Cmd; import System.Environment; import System.Exit" > hsc2hs-inplace.hs echo "main = do args <- getArgs; rawSystem \"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/utils/hsc2hs /hsc2hs-bin\" (\"-- template=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/utils/hsc2hs /template-hsc.h\":\"--cc=gcc\":\"--ld=gcc\":\"-- cflag=-D__GLASGOW_HASKELL__=608\":\"-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/includes\":\"-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/gmp/gmpbuild\":\"-I/opt/local/include\":args)
= exitWith" >> hsc2hs-inplace.hs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work /ghc-bootstrap/bin/ghc --make hsc2hs-inplace.hs -o hsc2hs-inplace [1 of 1] Compiling Main ( hsc2hs-inplace.hs, hsc2hs-inplace.o ) Linking hsc2hs-inplace ... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work /ghc-bootstrap/bin/ghc -H16m -O -I/opt/local/include -L/opt/local/lib -DUSING_COMPAT -i../../compat -ignore-package Cabal -Rghc-timing -Wall -c Main.hs -o Main.o -ohi Main.hi ghc-6.6.1: internal error: evacuate(static): strange closure type 0 (GHC version 6.6.1 for powerpc_apple_darwin) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug make[2]: *** [Main.o] Abort trap Failed making all in hsc2hs: 1 make[1]: *** [all] Error 1 make: *** [stage1] Error 1
Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/17025> MacPorts <http://www.macports.org/> Ports system for Mac OS