Ticket #4034 (closed bug: fixed)
GHC > 6.10 fails to build on PowerPC / MacOS X Leopard
| Reported by: | PHO | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 7.0.1 |
| Component: | Compiler | Version: | 7.1 |
| Keywords: | Cc: | ||
| Operating System: | MacOS X | Architecture: | powerpc |
| Type of failure: | GHCi crash | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
I'm trying to build GHC 6.12.2 on PowerPC / MacOS 10.5.8, but stage2 compiler causes an internal error:
"inplace/bin/ghc-stage2" -H32m -O -DNEW_GHC_LAYOUT
-hide-all-packages -i -iutils/haddock/src
-iutils/haddock/dist/build -iutils/haddock/dist/build/autogen
-Iutils/haddock/dist/build -Iutils/haddock/dist/build/autogen
-optP-DIN_GHC_TREE -optP-include
-optPutils/haddock/dist/build/autogen/cabal_macros.h -package
Cabal-1.8.0.4 -package array-0.3.0.0 -package base-4.2.0.1
-package containers-0.3.0.0 -package directory-1.0.1.1 -package
filepath-1.1.0.4 -package ghc-6.12.2 -package pretty-1.0.1.1
-funbox-strict-fields -O2 -Wall -XForeignFunctionInterface -XCPP
-XPatternGuards -XDeriveDataTypeable -XScopedTypeVariables
-XMagicHash -odir utils/haddock/dist/build -hidir
utils/haddock/dist/build -stubdir utils/haddock/dist/build -hisuf
hi -osuf o -hcsuf hc -c
utils/haddock/src/Haddock/InterfaceFile.hs -o
utils/haddock/dist/build/Haddock/InterfaceFile.o
ghc-stage2: internal error: evacuate: strange closure type 24576
(GHC version 6.12.2 for powerpc_apple_darwin)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
The stage2 compiler is built with -thread by default, so I tried building it with -debug. As a result, the compiler caused Segmentation Fault on the same source file. The SegFault? happened at some internal function like "s1ht_info" in "compiler/stage2/build/UniqFM.o".
Change History
Note: See
TracTickets for help on using
tickets.
