Skip to content

ghc: panic! (the 'impossible' happened) linkBCO: >= 64k insns in BCO

ghci told me to report a bug:

$ ghci 18.hs
GHCi, version 6.10.1: 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             ( 18.hs, interpreted )
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.1 for i386-unknown-linux):
        linkBCO: >= 64k insns in BCO

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

> 

$ ghci --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1
$ uname -a
Linux ogum 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

I've attached the offending file, here's the md5sum:

$ md5sum 18.hs 
1594c7d5522d0b1d7f1a70f6f3dfc24a  18.hs
Trac metadata
Trac field Value
Version 6.10.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