Skip to content

Panic when using gtk2hs from ghci

gtk2hs 0.9.13. Take the 'hello world' example that comes with it. Works fine if compiled by ghc, but try running it from within GHCI:

Loading package glib-0.9.13 ... <interactive>: Unknown PEi386 section name `.reloc' (while processing: C:/haskell/Gtk2Hs/HSglib.o)
: panic! (the 'impossible' happened)
  (GHC version 6.8.3 for i386-unknown-mingw32):
        loadObj: failed

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

I'll attach hello.hs and the output from a GHCI session.

Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information