[llvmlinux] Test IAS patch should compile kernel (take 2)

Saleem Abdulrasool compnerd at compnerd.org
Sun Feb 23 05:58:16 UTC 2014


On Sat, Feb 22, 2014 at 6:01 PM, Tinti <viniciustinti at gmail.com> wrote:

> On Sat, Feb 22, 2014 at 7:21 PM, Renato Golin <renato.golin at linaro.org>wrote:
>
>> Folks,
>>
>> It looks like Saleem has fixed the last bug in the IAS to make it
>> compiler the kernel. It breaks some odd driver end on MIPS, but we
>> should be able to test compiling the ARM kernel regardless.
>>
>> Vinicius, can you apply patch svn 201952 on current tree (or checkout
>> trunk now, if Saleem didn't revert it because the failures), and test?
>>
>> He tested on QEMU, so it should boot the vexpress kernel. Would also
>> be good to know if it boots on the Nexus 7 before we announce to the
>> world.
>>
>> cheers,
>> --renato
>>
>
> Hi Renato and Saleem,
> Unfortunately it did not build in my case in vexpress and I have not tried
> N7 yet.
> I am using svn 201963. Do you want me to use svn 201952?
>

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.

>From the logs it seems to be the missing piece (and explains why it built
for me).

Thanks for testing this!

Please find attached the log.
>
> ==
> cmake version 2.8.11.2
> gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
> git version 1.8.3.2
> GNU Make 3.81
> quilt version 0.60
> LLVM version 3.5svn commit c7ee77714925ef2f5d5ce7c2cbb0f39171abc9ae
> LLVM version 3.5svn
> clang version 3.5 commit 8c702d1f447aa6f33370756b7e53b8f1529cef58
> clang version 3.5
> src/linux version 3.14.0-rc3 commit
> 0f0ca14386e0431fbedaae5efc550d46cf93b9cf
> src/linux-gcc version 3.14.0-rc3 commit
> 0f0ca14386e0431fbedaae5efc550d46cf93b9cf
> buildroot version 2014.02-rc2 commit
> 70ee9fcdfcf6fc7cb214e454afe55cbffec84621
> LTP version 20120614 (from sourceforge)
> QEMU version 1.6.2 commit e82ee0845c3240541e79b9bf21779b3f8743f1b4
> arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2013.05-24) 4.7.3
> ==
>
> Regards,
> Vinicius
>
> --
> Simplicity is the ultimate sophistication
>

-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20140222/cf7bf430/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen-offsets-disable-integrated-assembler.patch
Type: application/octet-stream
Size: 1946 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20140222/cf7bf430/attachment-0001.obj>


More information about the LLVMLinux mailing list