<div dir="ltr">I'm just noticing this thread now... sorry about the delay and the problems! I'll look into what happened here.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 8:04 AM, kyra <span dir="ltr"><<a href="mailto:kyrab@mail.ru" target="_blank">kyrab@mail.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've looked into this patch, it looks like this patch was intended to touch only linuxish IO Manager, but in fact it touched common (os unrelated) code here and there extensively and there are almost no chances somebody else (not the author) can fix the things.<br>

<br>
So, almost the only way to unbreak the build it to revert the patch.<br>
<br>
Regards,<br>
Kyra<div><div class="h5"><br>
<br>
On 8/22/2014 16:07, Simon Peyton Jones wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Friends<br>
<br>
My Windows build is still broken, and has been since Andreas's patch<br>
        commit f9f89b7884ccc8ee5047cf4fffdf2b<u></u>36df6832df<br>
on Tues 19th.<br>
<br>
Please can someone help?  I'm begging.<br>
<br>
I suppose that if I hear nothing I can simply revert his patch but that seems like the Wrong Solution<br>
<br>
Thanks<br>
<br>
Simon<br>
<br>
| -----Original Message-----<br>
| From: Simon Peyton Jones<br>
| Sent: 20 August 2014 23:48<br>
| To: 'Gabor Greif'; '<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>'; 'Andreas Voellmy'<br>
| Subject: RE: Windows build fails -- again!<br>
|<br>
| Help!  My Windows build is still falling over as below.<br>
|<br>
| Andreas, you seem to be the author of the commit that broke this.  I'd<br>
| really appreciate a fix.  (From anyone!)<br>
|<br>
| thank you<br>
|<br>
| Simon<br>
|<br>
| | -----Original Message-----<br>
| | From: Simon Peyton Jones<br>
| | Sent: 20 August 2014 09:26<br>
| | To: Gabor Greif; <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
| | Subject: RE: Windows build fails -- again!<br>
| |<br>
| | Thanks Gabor.  But it makes no difference.  Your change is inside an<br>
| | #ifdef that checks for windows, and your change is in the no-windows<br>
| | branch only.<br>
| |<br>
| | Also there are two IOManager.h file<br>
| |     includes/rts/IOManager.h<br>
| |     rts/win32/IOManager.h<br>
| |<br>
| | Should there be?  It seems terribly confusing, and I have no idea which<br>
| | will win when it is #included.<br>
| |<br>
| | Thanks<br>
| |<br>
| | Simon<br>
| |<br>
| | | -----Original Message-----<br>
| | | From: Gabor Greif [mailto:<a href="mailto:ggreif@gmail.com" target="_blank">ggreif@gmail.com</a>]<br>
| | | Sent: 19 August 2014 23:38<br>
| | | To: Simon Peyton Jones<br>
| | | Subject: Re: Windows build fails -- again!<br>
| | |<br>
| | | Simon,<br>
| | |<br>
| | | try this (attached) patch:<br>
| | |<br>
| | | $ git am 0001-Make-sure-that-a-<u></u>prototype-is-included-for-<br>
| | | setIOMana.patch<br>
| | |<br>
| | | Cheers,<br>
| | |<br>
| | |     Gabor<br>
| | |<br>
| | | PS: on MacOS all is good, so I could not test it at all<br>
| | |<br>
| | | On 8/20/14, Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>> wrote:<br>
| | | > Aaargh!  My windows build is broken, again.<br>
| | | > It's very painful that this keeps happening.<br>
| | | > Can anyone help?<br>
| | | > Simon<br>
| | | ><br>
| | | > "inplace/bin/ghc-stage1.exe" -optc-U__i686 -optc-march=i686<br>
| | | > -optc-fno-stack-protector -optc-Werror -optc-Wall -optc-Wall<br>
| | | > -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes<br>
| | | > -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return<br>
| | | > -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs<br>
| | | > -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist<br>
| | | > -optc-Iincludes/dist-<u></u>derivedconstants/header<br>
| | | > -optc-Iincludes/dist-<u></u>ghcconstants/header -optc-Irts<br>
| | | > -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-<br>
| aliasing<br>
| | | > -optc-fno-common -optc-O2 -optc-fomit-frame-pointer<br>
| | | > -optc-DRtsWay=\"rts_v\" -static  -H32m -O -Werror -Wall -H64m -O0<br>
| | | > -Iincludes -Iincludes/dist -Iincludes/dist-<u></u>derivedconstants/header<br>
| | | > -Iincludes/dist-ghcconstants/<u></u>header<br>
| | | > -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts<br>
| | | > -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -<br>
| | | Irts/dist/build<br>
| | | > -Irts/dist/build/autogen           -O2    -c rts/Task.c -o<br>
| | | > rts/dist/build/Task.o<br>
| | | ><br>
| | | > cc1.exe: warnings being treated as errors<br>
| | | ><br>
| | | ><br>
| | | ><br>
| | | > rts\Capability.c:1080:6:<br>
| | | ><br>
| | | >      error: no previous prototype for 'setIOManagerControlFd'<br>
| | | ><br>
| | | > rts/<a href="http://ghc.mk:236" target="_blank">ghc.mk:236</a>: recipe for target 'rts/dist/build/Capability.o'<br>
| | | failed<br>
| | | ><br>
| | | > make[1]: *** [rts/dist/build/Capability.o] Error 1<br>
| | | ><br>
| | | > make[1]: *** Waiting for unfinished jobs....<br>
| | | ><br>
| | | > Makefile:71: recipe for target 'all' failed<br>
| | | ><br>
| | | > make: *** [all] Error 2<br>
| | | ><br>
| | | > HEAD (master)$<br>
| | | ><br>
| | | ><br>
| | | ><br></div></div><div class="">
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/ghc-devs</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div>