Bug ghc-5.02.3 / Gtk+HS

Simon Marlow simonmar at microsoft.com
Tue Apr 30 05:22:38 EDT 2002


> compiling the example "ModuleTest.hs" from the
> Gtk+HS distribution produces the following
> error message:
> 
> 84>  ghc `gtkhs-config --cflags --libs` ModuleTest.hs 
> ghc-5.02.3: panic! (the `impossible' happened, GHC version 5.02.3):
> 	AbsCStixGen.gencode typedef void ( *_ccall_fun_tys1ku) (I_);

You've run into something that isn't supported in the native code
generator (it looks like perhaps a 'foreign import dynamic').  This will
be fixed in the next release, but a workaround for 5.02.3 is to use
'-fvia-C'.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list