<div dir="ltr">Thanks Mark. <div><br></div><div>Also, I am getting same error for nexus4 target.<div><br></div><div>For galaxys3, I am getting:</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Applying patch 0002-Adapt-warnings-for-compilation-with-clang.patch</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">patching file scripts/Makefile.build</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Hunk #1 FAILED at 65.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">1 out of 1 hunk FAILED -- rejects in file scripts/Makefile.build</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Patch 0002-Adapt-warnings-for-compilation-with-clang.patch does not apply (enforce with -f)</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">make: *** [state/kernel-patch] Error 1</div></div><div>
<br></div><div>The nexus7 target compiles fine.</div><div><br></div><div>Thanks and Regards,</div><div>Jia Smith</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 1:31 PM, Charlebois, Mark <span dir="ltr">&lt;<a href="mailto:mcharleb@quicinc.com" target="_blank">mcharleb@quicinc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I haven&#39;t had time to test MSM in a few weeks so thanks for the report. I&#39;ll see what I can do today week to get it back to compiling.<br>

<br>
-Mark<br>
________________________________________<br>
From: <a href="mailto:llvmlinux-bounces@lists.linuxfoundation.org">llvmlinux-bounces@lists.linuxfoundation.org</a> [<a href="mailto:llvmlinux-bounces@lists.linuxfoundation.org">llvmlinux-bounces@lists.linuxfoundation.org</a>] on behalf of Behan Webster [<a href="mailto:behanw@converseincode.com">behanw@converseincode.com</a>]<br>

Sent: Monday, September 09, 2013 10:25 AM<br>
To: John Smith; Compiling the Linux Kernel with Clang/LLVM<br>
Subject: Re: [llvmlinux] target msm compilation issue<br>
<div><div class="h5"><br>
On 09/09/13 08:39, John Smith wrote:<br>
&gt; Hi Behan,<br>
&gt;<br>
&gt; I am compiling target msm. But, the compilation halts with following<br>
&gt; error:<br>
&gt;<br>
&gt; Applying patch ww_mutex_builtin_constant_p.patch<br>
&gt; patching file kernel/mutex.c<br>
&gt; Hunk #1 FAILED at 450.<br>
&gt; Hunk #2 FAILED at 480.<br>
&gt; Hunk #3 FAILED at 551.<br>
&gt; 3 out of 3 hunks FAILED -- rejects in file kernel/mutex.c<br>
&gt; Patch ww_mutex_builtin_constant_p.patch does not apply (enforce with -f)<br>
&gt; make: *** [state/kernel-patch] Error 1<br>
&gt;<br>
&gt; Regards,<br>
&gt; Jia Smith<br>
Hmm. It looks like that patch hasn&#39;t been ported to the msm kernel tree<br>
yet. Since msm is based on the 3.4 kernel tree with many custom patches,<br>
it doesn&#39;t always get the love it needs.<br>
<br>
Behan<br>
<br>
--<br>
Behan Webster<br>
<a href="mailto:behanw@converseincode.com">behanw@converseincode.com</a><br>
<br>
</div></div>_______________________________________________<br>
LLVMLinux mailing list<br>
<a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
</blockquote></div><br></div>