<div dir="ltr">$ xcodebuild -version<br>Xcode 6.3<br>Build version 6D570</div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2015 at 08:57, Richard Gildea <span dir="ltr">&lt;<a href="mailto:rgildea@gmail.com" target="_blank">rgildea@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Luc,<div><br></div><div>It was strange, because it only appeared after I updated our mac-mini nightly build machine with the latest OS X and Xcode updates the other day. However mine and Graeme&#39;s mac book pros both have the latest Apple updates installed and it appears to work fine on our machines (although I&#39;m not certain either of us actually tried a full build from scratch running the bootstrap.py script).</div><div><br></div><div>Cheers,</div><div><br></div><div>Richard</div><div><br></div>$ clang --version<br>Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)<br>Target: x86_64-apple-darwin14.3.0<br>Thread model: posix<br><br>$ sw_vers -productVersion <br>10.10.3<div><br></div><div>Xcode must be latest version (whatever that is).<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 14 April 2015 at 08:22, Luc Bourhis <span dir="ltr">&lt;<a href="mailto:luc_j_bourhis@mac.com" target="_blank">luc_j_bourhis@mac.com</a>&gt;</span> 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"><div style="word-wrap:break-word"><span><br><div><div>On 14 Apr 2015, at 08:44, Richard Gildea &lt;<a href="mailto:rgildea@gmail.com" target="_blank">rgildea@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr"><div>I managed to &#39;fix&#39; the error with this commit:</div><div><br></div><div><a href="https://sourceforge.net/p/cctbx/code/22003/" target="_blank">https://sourceforge.net/p/cctbx/code/22003/</a><br></div><div><br></div><div>However, I have no idea why the previous code was problematic. Adding a SCITBX_ASSERT(vi != 0); in the &#39;else&#39; statement also made the error go away. I can have another look and try out your suggestions later today to see if that results in any more insight into the underlying problem.</div></div></blockquote><br></div></span><div>My suggestions only aimed at zeroing on the problem. Now that you have found a fix, you won&#39;t learn more by following my suggestions. It looks like a bug in the optimiser of whatever version of clang/llvm Apple uses in the version of Xcode installed on that machine. Note clang optimiser had troubles with that file a couple of  years ago: it was missing some optimisations and the produced code was too slow. So now it looks too eager! So classic unfortunately… </div><div><br></div><div>For the record, could you paste the outcome of &quot;clang --version&quot; on that machine? And tell us the version of Xcode as well.</div><div><br></div><div>I will move to Yosemite soon-ish but for the time being, I can&#39;t help much.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Luc</div><div><br></div></div><br></div></div><span class="">_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>