the `impossible' happened: ASSERT failed! file codeGen/ClosureInfo.lhs, line 596
I was trying to compile ghc with profiling enabled: downloaded the source for ghc-6.4.2, configured it and created the following build.mk:
avatar@avatar:~/tmp/ghc-6.4.2> cat mk/build.mk
SRC_HC_OPTS = -H32m -O -fasm -Rghc-timing -prof -auto-all
GhcStage1HcOpts = -O0 -DDEBUG
GhcLibHcOpts = -O -fgenerics
GhcLibWays =
SplitObjs = NO
Then said make in the top directory. During compilation the followinig error occured:
------------------------------------------------------------------------
==fptools== make all -wr;
in /home/avatar/tmp/ghc-6.4.2/libraries/base
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -H32m -O -fasm -Rghc-timing -prof -auto-all -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -ignore-package base -O -fgenerics -fgenerics -c Data/Dynamic.hs -o Data/Dynamic.o -ohi Data/Dynamic.hi
ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
ASSERT failed! file codeGen/ClosureInfo.lhs, line 596
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.4.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |