<div dir="ltr">Hi Tim,<div><br></div><div>Yes we are running mainly on QEMU not on real boards (but we can do it too).</div><div><br></div><div>For reproducing it is quite simple. We have a build system that automates almost everything you need to see the problem.</div>
<div>The build system is able to: fetch all projects needed, build these projects and ultimately run QEMU test on versatile express.</div><div><br></div><div>Instructions: <a href="http://llvm.linuxfoundation.org/index.php/Quick_Start_Guide">http://llvm.linuxfoundation.org/index.php/Quick_Start_Guide</a></div>
<div><br></div><div>Fell free to ask any question concerning it. I can provide help on dealing with any problem.</div><div><br></div><div>Hi Anton,</div><div><br></div><div>We have compared it too. But it is HUGE, almost 80 MB of dissasm for each vmlinux file. I am trying to compare some key files but so far the only strange thing that I found was an instruction change from mov to movw. Another thing that if I count the register usage (how many times r1 apper and so one) there is a small difference. I can provide it if it is useful.</div>
<div><br></div><div>Do you have any other suggestions or tools to do a better compare?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 15, 2013 at 8:06 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Other than that, quick-and-dirty instructions for building a working<br>
> Linux kernel with Clang might encourage people to take a look. I've no<br>
> idea what should be in .config or how to override Linux's choice of<br>
> compiler, for example. And only a vague recollection of how to build a<br>
> non-native kernel at all.<br>
</div>Maybe one can build the kernel with and without patches and compare<br>
the disassembled code?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Simplicity is the ultimate sophistication<br></div>
</div>