panic when interpreting compiled stuff
I am using the Linux/ppc ghc 6.4 binary found on the
ghc downloads page. I'm assuming it supports ghci,
since ghci seems to work for other things.
The simplest way to trigger it is this (or the equivalent):
echo 'main=return()' > bug.hs && ghc bug.hs && ghci bug.hs
, and enter `main' at the ghci prompt. It yields:
<interactive>: Unable to mmap( MAP_FIXED ) for Jump Islands
ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
loadObj: failed
Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.
Oddly, entering `main' again at the next ghci prompt
yields a different mesage and exits ghci:
<interactive>: internal error: Unable to make
ppcJumpIsland for #11
Please report this as a bug to
glasgow-haskell-bugs@haskell.org,
or http://www.sourceforge.net/projects/ghc/
I came across this when doing `ghci -package wx', which
after some ordinary output printed:
Loading package haskell98-1.0 ... ghc-6.4: Unable to
mmap( MAP_FIXED ) for Jump Islands
(followed by the rest of the error messages in my first
output listing.)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedNoReason |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |