Skip to content

BCOs can only have 64k instructions: linkBCO: >= 64k insns in BCO

Fredrick Eaton (frederik@a5.repetae.net) said:

Here I'm reading a very large matrix from a file and turning it into a template Haskell expression. Probably not the most efficient thing to do, but the error message could be clearer...

*Main> let y = $(qFast (\f -> runIO $ readMatrixFile "data.txt" (runQ.f)));
ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
        linkBCO: >= 64k insns in BCO

Indeed, the error message is unhelpful.

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