[GHC] #15306: First attempt at starting GHCI failed

#15306: First attempt at starting GHCI failed -------------------------------------+------------------------------------- Reporter: DaleB | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15306 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15306: First attempt at starting GHCI failed -------------------------------------+------------------------------------- Reporter: DaleB | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.4.3 (Linker) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * failure: None/Unknown => Runtime crash * os: Unknown/Multiple => Windows * component: Compiler => Runtime System (Linker) Old description:
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
New description: {{{ 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 }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15306#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15306: First attempt at starting GHCI failed -------------------------------------+------------------------------------- Reporter: DaleB | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.4.3 (Linker) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by DaleB): * Attachment "WinGHCI Error.JPG" added. Error message received when opening WinGHCI -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15306 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15306: First attempt at starting GHCI failed -------------------------------------+------------------------------------- Reporter: DaleB | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.4.3 (Linker) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by DaleB): * Attachment "WinGHCI Error 2.JPG" added. This shows that the offending file does exist -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15306 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15306: First attempt at starting GHCI failed -------------------------------------+------------------------------------- Reporter: DaleB | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.4.3 (Linker) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (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 want to do some further investigation. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15306#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15306: First attempt at starting GHCI failed -------------------------------------+------------------------------------- Reporter: DaleB | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.4.3 (Linker) | Resolution: invalid | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * status: new => closed * resolution: => invalid Comment: This looks to me like you had a 32bit mingw on your PATH. Removing the folder made it find the proper libraries. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15306#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC