Skip to content

GHC error on Win 8.1 64bit

Hi, i get the following error when building GHCJS:

Loading package conduit-1.1.1 ... linking ... done.
Loading package yaml-0.8.8.2 ... ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.8.2 for x86_64-unknown-mingw32):
        loadObj "C:\\Users\\Manuel\\AppData\\Roaming\\cabal\\x86_64-windows-ghc-
7.8.2\\yaml-0.8.8.2\\HSyaml-0.8.8.2.o": failed

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

ghc.exe: Unknown PEi386 section name `.text.unlikely' (while processing: C:\User
s\Manuel\AppData\Roaming\cabal\x86_64-windows-ghc-7.8.2\yaml-0.8.8.2\HSyaml-0.8.
8.2.o)
cabal: Error: some packages failed to install:
ghcjs-0.1.0 failed during the building phase. The exception was:
ExitFailure 1

Also reported this for ghcjs (https://github.com/ghcjs/ghcjs/issues/170)

I am not using the haskell plattform, but the 7.8.2 binaries + MinGW and MSYS. I also tried mingw-w64 but this made no difference. I am also using the recent ghcjs cabal branch.

Trac metadata
Trac field Value
Version 7.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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