<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 8:53 PM Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com">simonpj@microsoft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" link="blue" vlink="purple" lang="EN-GB">
<div class="m_-3275466099764003944WordSection1">
<p class="MsoNormal"><span>I do indeed have SplitObs=YES in my <a href="http://validate.mk" target="_blank">validate.mk</a>.<u></u><u></u></span></p>
<p class="MsoNormal"><span>In the past at least, that made binaries quite a bit smaller.
<u></u><u></u></span></p>
<p class="MsoNormal"><span>Happy to change it to SplitSections=YES if that is more kosher these days?</span></p></div></div></blockquote><div><br></div><div>Yes, SplitObjs is no longer supported, will also cause an extremely slow compilation depending on your optimization level and ways.</div><div>Removing the line should let the compiler default to the best choice, in this case it should go to SplitSections on its</div><div>own when compiling stage2.</div><div><br></div><div>Regards,</div><div>Tamar<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" link="blue" vlink="purple" lang="EN-GB"><div class="m_-3275466099764003944WordSection1"><p class="MsoNormal"><span><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Simon<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></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">From:</span></b><span lang="EN-US"> Andreas Klebinger <<a href="mailto:klebinger.andreas@gmx.at" target="_blank">klebinger.andreas@gmx.at</a>>
<br>
<b>Sent:</b> 19 November 2018 20:38<br>
<b>To:</b> Ben Gamari <<a href="mailto:ben@well-typed.com" target="_blank">ben@well-typed.com</a>><br>
<b>Cc:</b> Phyx <<a href="mailto:lonetiger@gmail.com" target="_blank">lonetiger@gmail.com</a>>; Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>>; <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<b>Subject:</b> Re: split_marker crash<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I might already have found the specific cause.<br>
<br>
It seems with split sections we generate a dummy CmmProc, which has as entry label
<br>
> error (split_sections_entry)<br>
<br>
My patch likely introduces strictness on that field where it was lazy before.<br>
If this is the cause I expect to have a patch up in a hour or two and will merge<br>
it after it validates.<br>
<br>
Cheers,<br>
Andreas<br>
<br>
Ben Gamari schrieb:<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Andreas Klebinger <a href="mailto:klebinger.andreas@gmx.at" target="_blank"><klebinger.andreas@gmx.at></a> writes:<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hello,<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>I'm fine with reverting for now. But could you give me a way to<u></u><u></u></pre>
<pre>reproduce this error?<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>I've not seen crashes on either linux and windows in various configs.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
</blockquote>
<pre>I suspect that Simon is building with SplitObjects enabled. To be<u></u><u></u></pre>
<pre>honest, I would really like to remove this feature; SplitSections is<u></u><u></u></pre>
<pre>better in nearly every regard. However, we have been stalled since<u></u><u></u></pre>
<pre>SplitSections doesn't quite work yet on Windows (or, IIRC, the toolchain<u></u><u></u></pre>
<pre>is prohibitively slow when it's used). I believe Tamar was working on<u></u><u></u></pre>
<pre>fixing this.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Cheers,<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>- Ben<u></u><u></u></pre>
</blockquote>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote></div></div>