Skip to content

GHCi - the "impossible" happens when loading Win32 package

This happens with vanilla GHC 6.4 on Windows XP, on 2
out of 2 machines I tried.

C:\ghc\ghc-6.4\bin>ghci -package Win32
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
6.4, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
Loading package Win32-1.0 ... ghc.exe: Not x86 PEi386
ghc.exe: panic! (the `impossible' happened, GHC version
6.4):
        loadObj: failed

Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

- or -

C:\ghc\ghc-6.4\bin>ghci
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
6.4, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
Prelude> System.Win32.DLL.loadLibrary "user32"
Loading package Win32-1.0 ... <interactive>: Not x86 PEi386
ghc.exe: panic! (the `impossible' happened, GHC version
6.4):
        loadObj: failed

Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component hslibs/win32
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