#15306 closed bug (invalid)

First attempt at starting GHCI failed

Reported by: DaleB Owned by:
Priority: normal Milestone: 8.6.1
Component: Runtime System (Linker) Version: 8.4.3
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Runtime crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by RyanGlScott)

PS C:\WINDOWS\system32> ghci
GHCi, version 8.4.3: http://www.haskell.org/ghc/  :? for help
ghc.exe: C:\F\G77\lib\libmingw32.a: Not a x86_64 PE+ file.
ghc.exe: getNumberOfSymbols: error whilst reading `CRTglob.o' header in `C:\F\G77\lib\libmingw32.a': Unknown COFF_OBJ_TYPE.
ghc.exe: loadArchive: error whilst reading `C:\F\G77\lib\libmingw32.a'
ghc.exe: panic! (the 'impossible' happened)
  (GHC version 8.4.3 for x86_64-unknown-mingw32):
        loadArchive "C:\\F\\G77\\lib\\libmingw32.a": failed

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

Attachments (2)

WinGHCI Error.JPG (63.7 KB) - added by DaleB 16 months ago.
Error message received when opening WinGHCI
WinGHCI Error 2.JPG (41.5 KB) - added by DaleB 16 months ago.
This shows that the offending file does exist

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 months ago by RyanGlScott

Component: CompilerRuntime System (Linker)
Description: modified (diff)
Operating System: Unknown/MultipleWindows
Type of failure: None/UnknownRuntime crash

Changed 16 months ago by DaleB

Attachment: WinGHCI Error.JPG added

Error message received when opening WinGHCI

Changed 16 months ago by DaleB

Attachment: WinGHCI Error 2.JPG added

This shows that the offending file does exist

comment:2 Changed 16 months ago by DaleB

So I deleted the folder "C:\F", ran ghci at the command prompt and it is now working fine.This ticket can now be closed unless somebody out there wants to do some further investigation.

Last edited 16 months ago by DaleB (previous) (diff)

comment:3 Changed 16 months ago by Phyx-

Resolution: invalid
Status: newclosed

This looks to me like you had a 32bit mingw on your PATH. Removing the folder made it find the proper libraries.

Note: See TracTickets for help on using tickets.