[Haskell-cafe] Panic loading network on windows (GHC 7.6.1)

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sat Oct 6 10:57:26 CEST 2012

On Fri, 05 Oct 2012 17:31:49 +0200, JP Moresmau <jpmoresmau at gmail.com>  

> Hello, I've installed Cabal and cabal-install 1.16 (which required
> network) on a new GHC 7.6.1 install and everything went well, except
> now when building a package requiring network I get:
> Loading package network- ... ghc.exe: Unknown PEi386 section name  
> `.idata
> $4' (while processing: c:/ghc/ghc-7.6.1/mingw/lib\libws2_32.a)
> ghc.exe: panic! (the 'impossible' happened)
>   (GHC version 7.6.1 for i386-unknown-mingw32):
>         loadArchive "c:/ghc/ghc-7.6.1/mingw/lib\\libws2_32.a": failed

It's a GHC bug and will be solved in GHC 7.6.2, according to:

Henk-Jan van Tuyl

Haskell programming

More information about the Haskell-Cafe mailing list