<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=Windows-1252">
<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:19.85pt;
        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">Aargh!  Windows is broken /again/.   Some mess-up in Linker.c. 
<o:p></o:p></p>
<p class="MsoNormal">I have not yet tried reverting recent patches.  Might someone fix please?<o:p></o:p></p>
<p class="MsoNormal">Itís really helpful to validate on Windows when making RTS changes.<o:p></o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;margin-bottom:.0001pt">
rts\Linker.c: In function 'ghci_find':<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;margin-bottom:.0001pt">
rts\Linker.c:1482:52: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     error: pointer type mismatch in conditional expression [-Werror]<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
                                  oc->archiveMemberName : oc->fileName);<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;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:19.85pt;margin-bottom:.0001pt">
rts\Linker.c:1480:28: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     error: format '%ls' expects argument of type 'wchar_t *', but argument 3 has type 'void *' [-Werror=format=]<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
                     debugBelch("%p is in %" PATH_FMT, addr,<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;margin-bottom:.0001pt">
"inplace/bin/ghc-stage1.exe" -optc-fno-stack-protector -optc-Wall -optc-Werror -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn
 -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common
 -optc-Irts/dist/build/./autogen -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-fno-omit-frame-pointer -optc-g -optc-O0 -optc-DRtsWay=\"rts_debug\" -optc-DWINVER=0x06000100 -static -optc-DDEBUG -ticky -DTICKY_TICKY  -O0 -H64m -Wall
 -fllvm-fill-undef-with-garbage    -Werror -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build
 -irts/dist/build/./autogen -Irts/dist/build/./autogen           -O2 -O0    -Wnoncanonical-monad-instances  -c rts/RaiseAsync.c -o rts/dist/build/RaiseAsync.debug_o<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;margin-bottom:.0001pt">
rts\Linker.c:1483:28: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Werror=format=]<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
                     debugBelch(", section %d, offset %lx\n", i,<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;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:19.85pt;margin-bottom:.0001pt">
In file included from rts\Linker.c:13:0: error: <o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
rts\Linker.c: In function 'ocTryLoad':<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;margin-bottom:.0001pt">
rts\Linker.c:2563:55: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     error: pointer type mismatch in conditional expression [-Werror]<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
                                     oc->archiveMemberName : oc->fileName));<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;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:19.85pt;margin-bottom:.0001pt">
includes\Rts.h:300:53: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     note: in definition of macro 'IF_DEBUG'<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     #define IF_DEBUG(c,s)  if (RtsFlags.DebugFlags.c) { s; }<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;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:19.85pt;margin-bottom:.0001pt">
rts\Linker.c:2561:33: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     error: format '%ls' expects argument of type 'wchar_t *', but argument 2 has type 'void *' [-Werror=format=]<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
         IF_DEBUG(linker, debugBelch("Resolving %" PATH_FMT "\n",<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;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:19.85pt;margin-bottom:.0001pt">
includes\Rts.h:300:53: error:<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     note: in definition of macro 'IF_DEBUG'<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
     #define IF_DEBUG(c,s)  if (RtsFlags.DebugFlags.c) { s; }<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;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:19.85pt;margin-bottom:.0001pt">
cc1.exe: all warnings being treated as errors<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
rts/ghc.mk:255: recipe for target 'rts/dist/build/Linker.debug_o' failed<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
make[1]: *** [rts/dist/build/Linker.debug_o] Error 1<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
make[1]: *** Waiting for unfinished jobs....<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
Makefile:129: recipe for target 'all' failed<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
make: *** [all] Error 2<o:p></o:p></p>
<p class="Code" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:19.85pt;margin-bottom:.0001pt">
/cygdrive/c/code/HEAD$<span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
</body>
</html>