ghc-6.6: panic! (the 'impossible' happened) mkWWcpr: not a product GHC-Brian-6.5.1:IdInfo.IdInfo{tc rfD}
I receive this message:
ghc-6.6: panic! (the 'impossible' happened)
(GHC version 6.6 for i386-unknown-linux):
mkWWcpr: not a product GHC-Brian-6.5.1:IdInfo.IdInfo{tc rfD}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
I am using GHC from the 6.6 branch (pulled & built today).
I am building the GHC API using the Cabal file that is attached. To use it, put the Cabal file and Setup.lhs in ghc/compiler/ along and run:
runhaskell Setup.lhs configure --with-hc=/path/to/ghc-6.6/compiler/stage2/ghc-inplace --with-hc-pkg=/path/to/ghc-6.6/utils/ghc-pkg/ghc-pkg-inplace
runhaskell Setup.lhs build
It takes a long time because TidyPgm is module 215 of 274. When the "-O2" option is removed from the Cabal file, it builds and works fine.
This was on Ubuntu 6.06.
Trac metadata
Trac field | Value |
---|---|
Version | 6.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |