<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
<DIV>I'm getting similar error on my 32-bit Windows 10:</DIV>
<DIV> </DIV>
<DIV><EM>GHCi, version 7.11.20151114: </EM><A 
href="http://www.haskell.org/ghc/"><EM>http://www.haskell.org/ghc/</EM></A><EM>  
:? for help</EM></DIV>
<DIV><EM>ghc.exe: 
C:\ghc-8.0_git\usr\local\lib\ghc-prim-0.5.0.0\HSghc-prim-0.5.0.0.o: Not x86 
PEi386</EM></DIV>
<DIV><EM>ghc.exe: panic! (the 'impossible' happened)</EM></DIV>
<DIV><EM>(GHC version 7.11.20151114 for i386-unknown-mingw32):</EM></DIV>
<DIV><EM>      loadObj 
"C:\\ghc-8.0_git\\usr\\local\\lib\\ghc-prim-0.5.0.0\\HSghc-prim-0.5.0.0.o": 
failed</EM></DIV>
<DIV><EM></EM> </DIV>
<DIV><EM>Please report this as a GHC bug:  <A 
href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</A></EM></DIV>
<DIV><EM></EM> </DIV>
<DIV>And running `file lib\ghc-prim-0.5.0.0\HSghc-prim-0.5.0.0.o` I get:</DIV>
<DIV> </DIV>
<DIV><EM>lib\ghc-prim-0.5.0.0\HSghc-prim-0.5.0.0.o: PE Unknown PE signature 
0x342f Intel 80386 (stripped to external PDB), for MS Windows</EM></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-----Original Message----- </DIV>
<DIV>From: Simon Peyton Jones </DIV>
<DIV>Sent: Wednesday, November 18, 2015 12:25 AM </DIV>
<DIV>To: David Macek ; ghc-devs@haskell.org </DIV>
<DIV>Subject: RE: Window build broken </DIV>
<DIV> </DIV>
<DIV>It says this:</DIV>
<DIV> </DIV>
<DIV>bash$ file libraries/ghc-prim/dist-install/build/HSghc-prim-0.5.0.0.o 
</DIV>
<DIV>libraries/ghc-prim/dist-install/build/HSghc-prim-0.5.0.0.o: PE Unknown PE 
signature 0x742e x86-64 (stripped to external PDB), for MS Windows</DIV>
<DIV> </DIV>
<DIV>| -----Original Message-----</DIV>
<DIV>| From: David Macek [mailto:david.macek.0@gmail.com]</DIV>
<DIV>| Sent: 17 November 2015 22:45</DIV>
<DIV>| To: Simon Peyton Jones <simonpj@microsoft.com>; 
ghc-devs@haskell.org</DIV>
<DIV>| Subject: Re: Window build broken</DIV>
<DIV>| </DIV>
<DIV>| On 17. 11. 2015 23:31, Simon Peyton Jones wrote:</DIV>
<DIV>| > Sigh.  My Windows build is broken.  See below.  Any 
ideas?  The stage2</DIV>
<DIV>| complier in non-interactive mode works ok. It’s just ghci fails.  
What does</DIV>
<DIV>| “Not x86_64 PEi386” mean?  What can I do to fix?</DIV>
<DIV>| </DIV>
<DIV>| Maybe it's obvious and you already checked, but could it be that the 
object</DIV>
<DIV>| file is for a different architecture? What does `file` say about 
it?</DIV>
<DIV>| </DIV>
<DIV>| --</DIV>
<DIV>| David Macek</DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>ghc-devs mailing list</DIV>
<DIV>ghc-devs@haskell.org</DIV>
<DIV>http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</DIV></DIV></DIV></BODY></HTML>