<div dir="ltr">I think it's the -O1 that is screwing it up.  The test relies on setting the optimization level, and then screws up the compiler's ability to find the framework headers with more recent clangs on OS X (both in-tree built and Xcode-delivered).  Ultimately OS X has been shifting where the /usr/include files have been delivered for a while, and this then requires telling clang where to find them one way or another.<div><br></div><div>Thanks for fixing.  I can dig into that more and make it cleaner, I had some code in the Makefile.rules that normally handles that but wasn't for some reason.  I'll have to look at what failed.  The change to the Makefile was instigated by OS X hitting an error on build when building with the in-tree clang.</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 6, 2016 at 3:41 AM, Tamas Berghammer <span dir="ltr"><<a href="mailto:tberghammer@google.com" target="_blank">tberghammer@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tberghammer added subscribers: lldb-commits, tberghammer.<br>
tberghammer added a comment.<br>
<br>
This CL caused a lot of breakage across various Linux/Android builders. I created a fix at <a href="http://reviews.llvm.org/rL265527" rel="noreferrer" target="_blank">http://reviews.llvm.org/rL265527</a> but please verify it is still working with OSX after that<br>
<br>
<br>
/lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/Makefile:7-11 This change breaks the test for remote debugging when running from OSX to anything else (e.g. android) as the cross compilers don't need this flag. Why you need this here and not in any of the other tests?<br>
<div class="HOEnZb"><div class="h5"><br>
Users:<br>
  tfiala (Author)<br>
<br>
<a href="http://reviews.llvm.org/rL265498" rel="noreferrer" target="_blank">http://reviews.llvm.org/rL265498</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-Todd</div></div>
</div>