Skip to content

GHC 7.2.1 rc1 crashes while compiling the text package

I'm doing a sweep over all of my packages with the first 7.2.1 release candidate, and the text package fails to build:

[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 i386-unknown-linux):
	cgLookupPanic (probably invalid Core; try -dcore-lint)
    $w$j{v s1Ju9} [lid]
    static binds for:
    local binds for:

This is easily reproduced with a simple cabal install text.

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information