Skip to content

6.8.0.20070917 ghc.exe: panic! (the 'impossible' happened)

(From Adrian Hey) Here's the error:

[29 of 53] Compiling Data.Tree.AVL.Join ( Data.Tree.AVL/Data/Tree/AVL/Join.hs, dist\build/Data/Tree/AVL/Join.o )
ghc.exe: panic! (the 'impossible' happened)
  (GHC version 6.8.0.20070917 for i386-unknown-mingw32):
	cgPanic
    a{v sMX} [lid]
    static binds for:
    collections-0.3:Data.Tree.AVL.Join.poly_go{v rse} [gid]
    collections-0.3:Data.Tree.AVL.Join.poly_$wlgo{v rsf} [gid]
    collections-0.3:Data.Tree.AVL.Join.flatConcat{v ryL} [gid]
    local binds for:
    SRT label collections-0.3:Data.Tree.AVL.Join.$LrMelvl{v rMe}_srt

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

This will probably reproduce it, but it's not quite what I did:

1 - darcs get http://darcs.haskell.org/packages/collections-ghc6.6/

2 - Edit collections.cabal so you have:

build-depends: base >= 2.0, QuickCheck, bytestring, containers, array

3 - runghc Setup.hs configure

4 - runghc Setup.hs build

Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority high
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