Opened 21 months ago

Last modified 17 months ago

#7103 new bug

Compiler panic, when loading wxc in GHCi

Reported by: Henk-Jan Owned by:
Priority: high Milestone: 7.6.2
Component: GHCi Version: 7.4.2
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: GHCi crash Difficulty: Unknown
Test Case: Blocked By: #3658
Blocking: Related Tickets:

Description (last modified by igloo)

Loading package wxc-0.90.0.4 ... <interactive>: Unknown PEi386 section name `.idata$4' (while processing: C:\Programs\wxWidgets-2.9.3\lib\gcc_dll\libwxmsw29u_xrc.a)
ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.4.2 for i386-unknown-mingw32):
        loadArchive "C:\\Programs\\wxWidgets-2.9.3\\lib\\gcc_dll\\libwxmsw29u_xrc.a": failed

Attachments (1)

libwxmsw29u_xrc.7z (15.6 KB) - added by Henk-Jan 21 months ago.
A zipped (7zip) version of the offending .a file

Download all attachments as: .zip

Change History (6)

Changed 21 months ago by Henk-Jan

A zipped (7zip) version of the offending .a file

comment:1 Changed 19 months ago by Henk-Jan

The same happens with GHC version 7.6.1 for i386-unknown-mingw32

comment:2 Changed 19 months ago by simonmar

  • Difficulty set to Unknown

See also #7056 (slightly different error, the section is .drectve).

Perhaps we should just ignore unrecognised sections?

comment:3 Changed 19 months ago by simonmar

  • Component changed from Compiler to GHCi
  • Milestone set to 7.6.2
  • Priority changed from normal to high

comment:4 Changed 17 months ago by igloo

  • Description modified (diff)

comment:5 Changed 17 months ago by igloo

  • Blocked By 3658 added

This would be fixed by dynamic-by-default.

Note: See TracTickets for help on using tickets.