#4034: GHC 6.12.2 crashes on PowerPC / MacOS X Leopard
------------------------+---------------------------------------------------
    Reporter:  PHO      |       Owner:                     
        Type:  bug      |      Status:  new                
    Priority:  normal   |   Component:  Compiler           
     Version:  6.12.2   |    Keywords:                     
          Os:  MacOS X  |    Testcase:                     
Architecture:  powerpc  |     Failure:  Building GHC failed
------------------------+---------------------------------------------------
 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".

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4034>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to