#17025 closed defect (invalid)
GHC 6.8.3 on PPC Mac OS 10.4
Reported by: | rzilibowitz@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | ghc |
Description
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.
Change History (5)
comment:1 follow-up: 2 Changed 16 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to gwright@… |
---|---|
Port: | ghc added |
comment:2 follow-up: 5 Changed 16 years ago by rzilibowitz@…
comment:3 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 Changed 3 years ago by barracuda156
Replying to rzilibowitz@…:
Replying to jmr@…:
Actually I submitted this bug report prematurely. Turns out it was something wierd going on probably with the hardware. When I tried compiling again this bug did not appear. Never experienced this kind of bug before though. Happened quite a number of times and each time restarting the build process seemed to solve the problem.
I am getting it now when trying to build ghc 7.8.x for ppc: https://trac.macports.org/ticket/64698
Note: See
TracTickets for help on using
tickets.
Replying to jmr@…:
Actually I submitted this bug report prematurely. Turns out it was something wierd going on probably with the hardware. When I tried compiling again this bug did not appear. Never experienced this kind of bug before though. Happened quite a number of times and each time restarting the build process seemed to solve the problem.