<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=utf-8">
<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:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
mso-style-link:"Code Char";
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Courier New";
color:#1F497D;}
span.CodeChar
{mso-style-name:"Code Char";
mso-style-link:Code;
font-family:"Courier New";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.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="blue" vlink="purple">
<div class="WordSection1">
<p class="Code"><span style="mso-fareast-language:EN-US">git revert d8abf85f8ca176854e9d5d0b12371c4bc402aac3
<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">[master f958079] Revert "Add more primops for atomic ops on byte arrays"<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">23 files changed, 86 insertions(+), 1016 deletions(-)<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">rewrite compiler/nativeGen/CPrim.hs (62%)<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">delete mode 100644 libraries/ghc-prim/cbits/atomic.c<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">delete mode 100644 testsuite/tests/concurrent/should_run/AtomicPrimops.hs<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">delete mode 100644 testsuite/tests/concurrent/should_run/AtomicPrimops.stdout<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">HEAD $ git revert 04dd7cb3423f1940242fdfe2ea2e3b8abd68a177
<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">fatal: bad object 04dd7cb3423f1940242fdfe2ea2e3b8abd68a177<o:p></o:p></span></p>
<p class="Code"><span style="mso-fareast-language:EN-US">HEAD $<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">What now?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Johan Tibell [mailto:johan.tibell@gmail.com]
<br>
<b>Sent:</b> 26 June 2014 13:25<br>
<b>To:</b> Simon Peyton Jones<br>
<b>Cc:</b> Karel Gardas; ghc-devs<br>
<b>Subject:</b> Re: Two days old build breakage on i386.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Just to make sure this is the same breakage, are you on an i386 Windows machine? If so git revert d8abf85f8ca176854e9d5d0b12371c4bc402aac3 and 04dd7cb3423f1940242fdfe2ea2e3b8abd68a177 to get unstuck.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<o:p> </o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
On Thu, Jun 26, 2014 at 2:13 PM, Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Aaaargh! Once again the Windows build is broken. I am utterly stalled.<br>
<br>
Moreover -fregs-graph and -fregs-iterative now *silently* do nothing. At least they should elicit warnings saying that they are disabled pending the fix to X and Y.<br>
<br>
Please can someone bisect to find out which patch is the culprit?<br>
<br>
I wish we had a more systematic way to find this out. I hate being the main person who gets stuck because some unrelated change has broken the Windows build. (Thanks for Karel, who got to it a day before me.)<br>
<br>
Thanks<br>
<br>
Simon<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<br>
| -----Original Message-----<br>
| From: ghc-devs [mailto:<a href="mailto:ghc-devs-bounces@haskell.org">ghc-devs-bounces@haskell.org</a>] On Behalf Of Karel<br>
| Gardas<br>
| Sent: 26 June 2014 09:56<br>
| To: ghc-devs; Johan Tibell<br>
| Subject: Two days old build breakage on i386.<br>
|<br>
|<br>
| Hello,<br>
|<br>
| builders running on i386 building for this platform caught issue which<br>
| shows as a build breakage:<br>
|<br>
| ghc-stage1: panic! (the 'impossible' happened)<br>
| (GHC version 7.9.20140624 for i386-unknown-linux):<br>
| RegAllocLinear.allocRegsAndSpill: no spill candidates<br>
| allocating vreg: VirtualRegI n1Q6<br>
| assignment: [(c1PV,InMem 2),(n1Q5,InBoth (RealRegSingle 3)<br>
| 0),(n1Q6,InMem 1),(n1Q7,InMem 3),(n1Q9,InReg (RealRegSingle 2))]<br>
| freeRegs: FreeRegs 4282318848<br>
| initFreeRegs: FreeRegs 4282318861<br>
| Please report this as a GHC bug: <a href="http://www.haskell.org/ghc/reportabug" target="_blank">
http://www.haskell.org/ghc/reportabug</a><br>
| make[1]: ***<br>
| [libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o] Error 1<br>
| libraries/ghc-prim/<a href="http://ghc.mk:4" target="_blank">ghc.mk:4</a>: recipe for target<br>
| 'libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o' failed<br>
|<br>
| Have a look for example on linux-i386 buildot log here:<br>
| <a href="http://haskell.inf.elte.hu/builders/validator1-linux-x86-head/18/7.html" target="_blank">
http://haskell.inf.elte.hu/builders/validator1-linux-x86-head/18/7.html</a><br>
|<br>
| Anyway, this happens on Linux, FreeBSD and Solaris buildbots on i386 so<br>
| it's OS independent and probably 32bit/i386 platform specific and it's<br>
| two days old breakage now. The last two night builds fail on all<br>
| mentioned buildbots. I'm not sure but perhaps:<br>
|<br>
| commit d8abf85f8ca176854e9d5d0b12371c4bc402aac3<br>
| Author: Johan Tibell <<a href="mailto:johan.tibell@gmail.com">johan.tibell@gmail.com</a>><br>
| Date: Mon Jun 9 11:43:21 2014 +0200<br>
|<br>
| triggers that issue? I'm not claiming that the commit is actual culprit,<br>
| this may be just recently un-hidden issue in linear regs allocator on<br>
| i386!<br>
|<br>
| Thanks!<br>
| Karel<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
| _______________________________________________<br>
| ghc-devs mailing list<br>
| <a href="mailto:ghc-devs@haskell.org">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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>