<div dir="ltr"><a href="https://phabricator.haskell.org/D400" target="_blank" style="font-family:arial,sans-serif;font-size:13px">https://phabricator.haskell.org/D400</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 1:34 PM, Gintautas Miliauskas <span dir="ltr"><<a href="mailto:gintautas@miliauskas.lt" target="_blank">gintautas@miliauskas.lt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">FYI, after the fix ghc builds again on Windows 32-bit, but validate.sh fails:<div><br></div><div><span class=""><div>rts\Linker.c: In function 'allocateImageAndTrampolines':</div><div><br></div></span><div>rts\Linker.c:3657:31:</div><div>     error: unused parameter 'member_name' [-Werror=unused-parameter]</div><div>        pathchar* arch_name, char* member_name,</div><div>                                   ^</div><div>cc1.exe: all warnings being treated as errors</div><div>rts/<a href="http://ghc.mk:236" target="_blank">ghc.mk:236</a>: recipe for target 'rts/dist/build/Linker.o' failed</div></div><div><br></div><div>What's the usual way to deal with this type of warning in ghc land?</div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Oct 24, 2014 at 5:37 PM, Austin Seipp <span dir="ltr"><<a href="mailto:austin@well-typed.com" target="_blank">austin@well-typed.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Gah, this slipped my mind. On it.<br>
<div><div><br>
On Fri, Oct 24, 2014 at 10:33 AM, Simon Marlow <<a href="mailto:marlowsd@gmail.com" target="_blank">marlowsd@gmail.com</a>> wrote:<br>
> I sent a patch to Austin to validate+commit earlier this week.<br>
><br>
> On 24/10/2014 15:08, Gintautas Miliauskas wrote:<br>
>><br>
>> This is still not fixed, right? I've been working on the mingw gcc<br>
>> upgrade and testing on 32 bit, and this failure got me running in<br>
>> circles until I discovered that baseline was broken too...<br>
>><br>
>> On Fri, Oct 17, 2014 at 2:00 AM, Simon Marlow <<a href="mailto:marlowsd@gmail.com" target="_blank">marlowsd@gmail.com</a><br>
>> <mailto:<a href="mailto:marlowsd@gmail.com" target="_blank">marlowsd@gmail.com</a>>> wrote:<br>
>><br>
>>     I was working on a fix yesterday but ran out of time. Frankly this<br>
>>     code is a nightmare, every time I touch it it breaks on some<br>
>>     platform - this time I validated on 64 bit Windows but not 32. Aargh<br>
>>     indeed.<br>
>><br>
>>     On 16 Oct 2014 14:32, "Austin Seipp" <<a href="mailto:austin@well-typed.com" target="_blank">austin@well-typed.com</a><br>
>>     <mailto:<a href="mailto:austin@well-typed.com" target="_blank">austin@well-typed.com</a>>> wrote:<br>
>><br>
>>         I see what's going on and am fixing it... The code broke 32-bit<br>
>>         due to<br>
>>         #ifdefery, but I think it can be removed, perhaps (which would be<br>
>>         preferable).<br>
>><br>
>>         On Thu, Oct 16, 2014 at 3:43 PM, Simon Peyton Jones<br>
>>         <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a> <mailto:<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>>> wrote:<br>
>>          > Simon<br>
>>          ><br>
>>          > Aargh!  I think the Windows build is broken again.<br>
>>          ><br>
>>          > I think this is your commit 5300099ed<br>
>>          ><br>
>>          > Admittedly this is on a branch I’m working on, but it’s up to<br>
>>         date with<br>
>>          > HEAD.  And I have no touched Linker.c!<br>
>>          ><br>
>>          > Any ideas?<br>
>>          ><br>
>>          > Simon<br>
>>          ><br>
>>          ><br>
>>          ><br>
>>          > rts\Linker.c: In function 'allocateImageAndTrampolines':<br>
>>          ><br>
>>          ><br>
>>          ><br>
>>          > rts\Linker.c:3708:19:<br>
>>          ><br>
>>          >      error: 'arch_name' undeclared (first use in this function)<br>
>>          ><br>
>>          ><br>
>>          ><br>
>>          > rts\Linker.c:3708:19:<br>
>>          ><br>
>>          >      note: each undeclared identifier is reported only once<br>
>>         for each<br>
>>          > function it appears in<br>
>>          ><br>
>>          > rts/<a href="http://ghc.mk:236" target="_blank">ghc.mk:236</a> <<a href="http://ghc.mk:236" target="_blank">http://ghc.mk:236</a>>: recipe for target<br>
>>         'rts/dist/build/Linker.o' failed<br>
>>          ><br>
>>          > make[1]: *** [rts/dist/build/Linker.o] Error 1<br>
>>          ><br>
>>          > make[1]: *** Waiting for unfinished jobs....<br>
>>          ><br>
>>          ><br>
>>          > _______________________________________________<br>
>>          > ghc-devs mailing list<br>
>>          > <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a> <mailto:<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>><br>
>>          > <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
>>          ><br>
>><br>
>><br>
>><br>
>>         --<br>
>>         Regards,<br>
>><br>
>>         Austin Seipp, Haskell Consultant<br>
>>         Well-Typed LLP, <a href="http://www.well-typed.com/" target="_blank">http://www.well-typed.com/</a><br>
>><br>
>><br>
>>     _______________________________________________<br>
>>     ghc-devs mailing list<br>
>>     <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a> <mailto:<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>><br>
>>     <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Gintautas Miliauskas<br>
><br>
> _______________________________________________<br>
> ghc-devs mailing list<br>
> <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br>
<br>
<br>
--<br>
Regards,<br>
<br>
Austin Seipp, Haskell Consultant<br>
Well-Typed LLP, <a href="http://www.well-typed.com/" target="_blank">http://www.well-typed.com/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Gintautas Miliauskas
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Gintautas Miliauskas
</div>