Skip to content

GHCi linking error with Gtk2Hs.

Starting ghci interpreter with '-package gtk' option results in this linking error:

GHCi, version 6.8.3: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
: Unknown PEi386 section name '.reloc' (while processing: F:/Gtk2Hs/HSglib.o)
Loading package glib-0.9.13 ... : 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 use Windows XP Home SP2 with last updates, and GHC / Gtk2Hs installers from this site.

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