FFI in GHCi 5.02
Koen Claessen
koen at cs.chalmers.se
Fri Sep 28 04:53:54 EDT 2001
Manuel M. T. Chakravarty wrote:
| > ghc-5.02: panic! (the `impossible' happened, GHC version
| > 5.02):
| > ByteCodeFFI.mkMarshalCode_wrk(sparc) C_
| >
| > Please report it as a compiler bug to
| > glasgow-haskell-bugs at haskell.org,
| > or http://sourceforge.net/projects/ghc/.
:
| I vaguely remember that Julian wrote that the
| interpreter support for the FFI is limited to x86 for
| the moment. You still should be fine if you compile
| all modules including a foreign import declaration.
I know I should be fine compiling my modules.
I am just reporting this as a bug, because:
* either the FFI should work (but it doesn't)
* or it does not work (but GHC panics anyway)
In either case this is a bug...
/Koen.
--
Koen Claessen http://www.cs.chalmers.se/~koen
phone:+46-31-772 5424 mailto:koen at cs.chalmers.se
-----------------------------------------------------
Chalmers University of Technology, Gothenburg, Sweden
More information about the Glasgow-haskell-bugs
mailing list