Skip to content

GHCi doesn't implement foreign import on amd64 when interpreting.

When GHCi is used to load source which has a foreign import I get a message: ghc-6.4.1: foreign import is not implemented for GHCi on this platform.

If the source is compiled with ghc it compiles and runs fine. If the compiled source is loaded into GHCi it works fine.

Trac metadata
Trac field Value
Version 6.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Linux
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information