Skip to content

Bug in GHCi, 'impossible' happened

I have just created file with following contents:

import List;

l = sort ["MARY","PATRICIA", ...]

I have got this list from http://projecteuler.net/project/names.txt.

Then i saved this code into the file "22.hs" and started it with "ghci 22.hs" command.

Then i got the following output:

GHCi, version 6.10.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main             ( 22.hs, interpreted )
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.3 for x86_64-unknown-linux):
	linkBCO: >= 64k insns in BCO

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

> 
Leaving GHCi.

I am running Arch Linux.

Trac metadata
Trac field Value
Version 6.10.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
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