<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 23, 2014 at 1:33 PM, Saleem Abdulrasool <span dir="ltr">&lt;<a href="mailto:compnerd@compnerd.org" target="_blank">compnerd@compnerd.org</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"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Sun, Feb 23, 2014 at 4:53 AM, Tinti <span dir="ltr">&lt;<a href="mailto:viniciustinti@gmail.com" target="_blank">viniciustinti@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div>
<div class="gmail_quote">On Sun, Feb 23, 2014 at 2:58 AM, Saleem Abdulrasool <span dir="ltr">&lt;<a href="mailto:compnerd@compnerd.org" target="_blank">compnerd@compnerd.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div>On Sat, Feb 22, 2014 at 6:01 PM, Tinti <span dir="ltr">&lt;<a href="mailto:viniciustinti@gmail.com" target="_blank">viniciustinti@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>On Sat, Feb 22, 2014 at 7:21 PM, Renato Golin <span dir="ltr">&lt;<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>&gt;</span> wrote:<br>



</div></div></div><div class="gmail_extra"><div><div>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Folks,<br>
<br>
It looks like Saleem has fixed the last bug in the IAS to make it<br>
compiler the kernel. It breaks some odd driver end on MIPS, but we<br>
should be able to test compiling the ARM kernel regardless.<br>
<br>
Vinicius, can you apply patch svn 201952 on current tree (or checkout<br>
trunk now, if Saleem didn&#39;t revert it because the failures), and test?<br>
<br>
He tested on QEMU, so it should boot the vexpress kernel. Would also<br>
be good to know if it boots on the Nexus 7 before we announce to the<br>
world.<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div><br></div></div><div>Hi Renato and Saleem,<br></div><div>Unfortunately it did not build in my case in vexpress and I have not tried N7 yet.</div><div>I am using svn 201963. Do you want me to use svn 201952?</div>



</div></div></blockquote><div><br></div></div><div>201963 is perfect.  It requires an additional patch which I have attached to this message.  The generation of the assembly offsets generates invalid assembly, which LLVM will flag.</div>



<div> </div><div>From the logs it seems to be the missing piece (and explains why it built for me).</div><div><br></div><div>Thanks for testing this!</div><div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div dir="ltr"><div class="gmail_extra"><div>Please find attached the log.</div><div><br></div><div>==</div><div><div>cmake version 2.8.11.2</div><div>gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1</div><div>git version 1.8.3.2</div>



<div>GNU Make 3.81</div>
<div>quilt version 0.60</div><div>LLVM version 3.5svn commit c7ee77714925ef2f5d5ce7c2cbb0f39171abc9ae</div><div>LLVM version 3.5svn</div><div>clang version 3.5 commit 8c702d1f447aa6f33370756b7e53b8f1529cef58</div><div>clang version 3.5 </div>




<div>src/linux version 3.14.0-rc3 commit 0f0ca14386e0431fbedaae5efc550d46cf93b9cf</div><div>src/linux-gcc version 3.14.0-rc3 commit 0f0ca14386e0431fbedaae5efc550d46cf93b9cf</div><div>buildroot version 2014.02-rc2 commit 70ee9fcdfcf6fc7cb214e454afe55cbffec84621</div>




<div>LTP version 20120614 (from sourceforge)</div><div>QEMU version 1.6.2 commit e82ee0845c3240541e79b9bf21779b3f8743f1b4</div><div>arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2013.05-24) 4.7.3</div></div><div>==</div>




<div><br></div><div>Regards,</div><div>Vinicius</div><span><font color="#888888"><div><br></div>-- <br><div dir="ltr">Simplicity is the ultimate sophistication</div></font></span></div></div></blockquote></div></div><span><font color="#888888">
<div><br></div>-- <br>Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org
</font></span></div></div>
</blockquote></div><br></div></div>Still some missing parts. I am a bit busy today but I am free to dig it more at night.</div><div class="gmail_extra">I saw some issues related to flags that were already discussed on this ML. And some other related for example to the &quot;BUG()&quot; macro.</div>


<div class="gmail_extra">Please let me know if I can help in something else.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Please find attached the log of the building with your patch.</div></div></blockquote>

<div><br></div></div></div><div>Oh, bleh.  It seems that there is a patch that disables the IAS by default.  Ill look into some of the failures.</div><div><br></div><div>The BUG() macro is fixed as of SVN r201968.</div><div>
<br></div>
<div>Im not sure what to do about the VFP macros.  I believe that the mrc equivalents are invalid in UAL, so they need to be swapped to UAL syntax.  I do have equivalents for it, that I can provide a patch for.</div><div class="">
<div>
 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra">
Regards,</div><div class="gmail_extra">Vinicius</div><div class="gmail_extra"><br>-- <br><div dir="ltr">Simplicity is the ultimate sophistication<br></div>
</div></div></div>
</blockquote></div></div><div class=""><br><br clear="all"><div><br></div>-- <br>Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org
</div></div></div>
</blockquote></div><br>Yes, please. As soon as you have something to test mail me.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for the work!<br clear="all"><div><br></div>-- <br><div dir="ltr">
Simplicity is the ultimate sophistication<br></div>
</div></div>