Skip to content

tcIfaceGlobal panic building HEAD with 6.12.2

This is bad, because we can't build HEAD with the newly released 6.12.2. It was reported a few days ago by Matthias Kilian on cvs-ghc, but at the time we didn't realise it was a regression in 6.12.2.

ghc: panic! (the 'impossible' happened)
  (GHC version 6.12.2 for x86_64-unknown-linux):
        tcIfaceGlobal (local): not found:
    ghc-6.13:HsExpr.$fxDataHsExpr{v rlO}
    [(a2NS, Identifier `ic{v a2NS}'), (a2O9, Identifier `ic{v a2O9}'),
     (a2Ol, Identifier `ic{v a2Ol}'), (a2OD, Identifier `ic{v a2OD}'),
     (a2OO, Identifier `ic{v a2OO}'), (a2Pj, Identifier `ic{v a2Pj}'),
     (a2Px, Identifier `ic{v a2Px}'), (a2PK, Identifier `ic{v a2PK}'),
     (a2Q6, Identifier `ic{v a2Q6}'), (a2Sf, Identifier `ic{v a2Sf}'),
     (a2Te, Identifier `ic{v a2Te}'), (a2UJ, Identifier `ic{v a2UJ}'),
     (a2WH, Identifier `ic{v a2WH}'), (a35p, Identifier `ic{v a35p}'),
     (a363, Identifier `typeOf1{v a363}'),
     -- more follows

Unpulling this patch in the HEAD tree allegedly avoids the bug:

Mon Mar 29 18:10:20 PDT 2010  David Waern <david.waern@gmail.com>
  * Add Data and Typeable instances to HsSyn
Trac metadata
Trac field Value
Version 6.12.2
Type Bug
TypeOfFailure OtherFailure
Priority highest
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