Ticket #2405 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Panic when using gtk2hs from ghci

Reported by: wagstaff Owned by: simonmar
Priority: normal Milestone: 6.10.1
Component: GHCi Version: 6.8.3
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

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.

Attachments

output.txt Download (2.4 KB) - added by wagstaff 5 years ago.
hello.hs Download (350 bytes) - added by wagstaff 5 years ago.

Change History

Changed 5 years ago by wagstaff

Changed 5 years ago by wagstaff

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • description modified (diff)

Changed 5 years ago by igloo

  • milestone set to 6.10.1

Thanks for the report; we'll take a look.

Changed 5 years ago by simonmar

  • owner set to simonmar

Changed 5 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

This was already fixed by John Dias:

Wed May 28 13:14:50 BST 2008  dias@eecs.harvard.edu
  * when linking, ignore unknown .reloc section that appeared in gcc 3.4.5(?)
Note: See TracTickets for help on using tickets.