"internal error: PAP object entered!" when running ghci compiled with profiling
With this mk/build.mk:
GhcCompilerWays=p
GhcThreaded=NO
GhcProfiled=YES
#GhcDebugged=YES
GhcRTSWays += debug_p
WAY_debug_p_HC_OPTS += -O0 -optc-O0 -optc-g
MakefileDeps = NO
I get this:
$ compiler/stage2/ghc-inplace --interactive
GHCi, version 6.9.20080315: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
ghc-6.9.20080315: internal error: PAP object entered!
(GHC version 6.9.20080315 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Unfortunately, there isn't a smaller example in the full testsuite.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |