Skip to content

The impossible happened : Prelude.(!!): index too large

Running ghc git HEAD (reports it's version as 7.9.20140206) and when cabal installing postgresql-simple I get:

ghc: panic! (the 'impossible' happened)
  (GHC version 7.9.20140206 for x86_64-unknown-linux):
        Prelude.(!!): index too large


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

cabal: Error: some packages failed to install:
postgresql-simple-0.4.0.2 failed during the building phase. The exception was:

postgresql-simple-0.4.0.2 installs fine with 7.6.3. I'm going to compile 7.8-rc1 and see if the same problem exists there.

Trac metadata
Trac field Value
Version 7.8.1-rc1
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