#5359: GHC 7.2.1-rc1 panics on `cgLookupPanic`
-------------------------------+--------------------------------------------
    Reporter:  hvr             |       Owner:                    
        Type:  bug             |      Status:  new               
    Priority:  normal          |   Component:  Compiler          
     Version:  7.1             |    Keywords:                    
    Testcase:                  |   Blockedby:                    
          Os:  Linux           |    Blocking:                    
Architecture:  x86_64 (amd64)  |     Failure:  Compile-time crash
-------------------------------+--------------------------------------------
 Grabbed the `ghc-7.2.0.20110728-x86_64-unknown-linux.tar.bz2` release, and
 as a first thing after install I tried to `cabal install text`, which
 paniced with the following output

 {{{
 ...
 Registering deepseq-1.1.0.2...
 Configuring text-0.11.1.5...
 Preprocessing library text-0.11.1.5...
 Building text-0.11.1.5...
 [ 1 of 38] Compiling Data.Text.Encoding.Utf32 (
 Data/Text/Encoding/Utf32.hs, dist/build/Data/Text/Encoding/Utf32.o )
 ...
 [23 of 38] Compiling Data.Text.Foreign ( Data/Text/Foreign.hs,
 dist/build/Data/Text/Foreign.o )

 Data/Text/Foreign.hs:36:26:
     Warning: In the use of `unsafeIOToST'
              (imported from Control.Monad.ST):
              Deprecated: "Please import from Control.Monad.ST.Unsafe
 instead; This will be removed in the next release"
 [24 of 38] Compiling Data.Text        ( Data/Text.hs,
 dist/build/Data/Text.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.2.0.20110728 for x86_64-unknown-linux):
         cgLookupPanic (probably invalid Core; try -dcore-lint)
     $w$j{v s1HTU} [lid]
     static binds for:
     local binds for:

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 cabal: Error: some packages failed to install:
 text-0.11.1.5 failed during the building phase. The exception was:
 ExitFailure 1
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5359>
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