<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:36.0pt;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-language:EN-US;}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
.MsoPapDefault
{mso-style-type:export-only;
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Help please!<o:p></o:p></p>
<p class="MsoNormal">Suddenly my Windows build has stopped working. See below. What should I do? I’m totally stuck.<o:p></o:p></p>
<p class="MsoNormal">This has never happened before.<o:p></o:p></p>
<p class="MsoNormal">I get this:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
GHC path canonicalised to: c:/fp/ghc-8.0.2/bin/ghc<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
checking build system type... x86_64-pc-msys<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
checking host system type... x86_64-pc-msys<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
checking target system type... x86_64-pc-msys<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
Build platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
Host platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
Target platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
GHC build : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
GHC host : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
GHC target : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
LLVM target: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
checking for path to top of build tree... C:/code/HEAD<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: Checking for Windows toolchain tarballs...<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: Extracting Windows toolchain from archives (may take a while)...<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: In-tree MingW-w64 tree created<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: Making in-tree perl tree<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: In-tree perl tree created<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
checking whether the C compiler works... no<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: error: in `/c/code/HEAD':<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: error: C compiler cannot create executables<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
See `config.log' for more details<o:p></o:p></p>
<p class="MsoNormal">Something wrong with the gcc.exe? Config.log has this<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
gcc version 6.3.0 (Rev2, Built by MSYS2 project) <o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4950: $? = 0<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4939: C:/code/HEAD/inplace/mingw/bin/gcc.exe -V >&5<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
gcc.exe: error: unrecognized command line option '-V'<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
gcc.exe: fatal error: no input files<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
compilation terminated.<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4950: $? = 1<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4939: C:/code/HEAD/inplace/mingw/bin/gcc.exe -qversion >&5<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
gcc.exe: error: unrecognized command line option '-qversion'; did you mean '--version'?<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
gcc.exe: fatal error: no input files<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
compilation terminated.<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4950: $? = 1<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4970: checking whether the C compiler works<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4992: C:/code/HEAD/inplace/mingw/bin/gcc.exe conftest.c >&5<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:4996: $? = 1<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:5034: result: no<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure: failed program was:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| /* confdefs.h */<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System"<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| #define PACKAGE_TARNAME "ghc-8.3"<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| #define PACKAGE_VERSION "8.3"<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.3"<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org"<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| #define PACKAGE_URL ""<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| /* end confdefs.h. */<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| <o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| int<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| main ()<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| {<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| <o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| ;<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| return 0;<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
| }<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:5039: error: in `/c/code/HEAD':<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
configure:5041: error: C compiler cannot create executables<span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
</body>
</html>