FFI in GHCi 5.02
Koen Claessen
koen at cs.chalmers.se
Thu Sep 27 11:45:29 EDT 2001
Hi,
When I load tha Yahu package [1] in GHCi 5.02 on a SParc
running Solaris, I get the following message:
>>>
scooter> bin/yahu.new Resources/YahuNew/Examples/Balls.hs
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 5.02,
for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package std ... linking ... done.
Loading package lang ... linking ... done.
Loading object (dynamic) yahu ... done
final link ... done.
Compiling YahuHeap (
/users/mdstud/afp01/Resources/YahuNew/YahuHeap.hs,
interpreted )
Compiling YahuTk (
/users/mdstud/afp01/Resources/YahuNew/YahuTk.hs, interpreted
)
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/.
<<<
It seems something is wrong with the FFI!
/Koen.
[1] Yahu, downloadable from:
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/afp/tools.html
More information about the Glasgow-haskell-bugs
mailing list