<div dir="ltr">Hi Jan-Simon,<div><br></div><div>I have just tried the commands you mentioned:</div><div><span style="font-family:arial,sans-serif;font-size:13px">cd targets/x86_64</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">make kernel-mrproper</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">make kernel-quilt-clean</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">make kernel-sync</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">make kernel-patch</span><br style="font-family:arial,sans-serif;font-size:13px">
<div class="im" style="font-family:arial,sans-serif;font-size:13px">make</div></div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><br></div><div class="im" style="font-family:arial,sans-serif;font-size:13px">
And I got the same error. Do I need to apply the patch? It seems an inline assembly problem. Can you clarify this problem?</div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><br></div><div class="im" style="font-family:arial,sans-serif;font-size:13px">
Regards,</div><div class="im" style="font-family:arial,sans-serif;font-size:13px">Marcelo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 3:32 PM, Jan-Simon Möller <span dir="ltr">&lt;<a href="mailto:jsmoeller@linuxfoundation.org" target="_blank">jsmoeller@linuxfoundation.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">w/o the patch added as below ...<br>
<br>
does this sequence work also:<br>
<br>
cd targets/x86_64<br>
make kernel-mrproper<br>
make kernel-quilt-clean<br>
make kernel-sync<br>
make kernel-patch<br>
# if no errors:<br>
<div class="im HOEnZb">make<br>
<br>
<br>
<br>
--<br>
<br>
Sincerely yours,<br>
<br>
Jan-Simon Möller<br>
<br>
<a href="mailto:jsmoeller@linuxfoundation.org">jsmoeller@linuxfoundation.org</a><br>
</div><div class="im HOEnZb">On Tuesday 23 July 2013 00:22:03 Jan-Simon Möller wrote:<br>
&gt; I could reproduce it. Meanwhile, you could readd<br>
&gt;<br>
&gt; arch/x86_64/patches/ARCHIVE/002x-Changes-to-BT-operations.-Mostly-BTC-<br>
&gt; BTCL.patch to<br>
&gt; arch/x86_64/patches/<br>
&gt;<br>
&gt; and add it to  arch/x86_64/patches/series<br>
&gt;<br>
&gt; Then<br>
&gt; make kernel-clean kernel-quilt-clean<br>
&gt; make<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; &gt; Hi Marcelo,<br>
&gt; &gt;<br>
&gt; &gt; can you describe what steps you did take ?<br>
&gt; &gt;<br>
&gt; &gt; Plain checkout + cd targets/x86_64 + make ?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; What revision of the llvmlinux do you use ? Please paste:<br>
&gt; &gt;<br>
&gt; &gt; cd targets/x86_64<br>
&gt; &gt; make list-config<br>
&gt; &gt;<br>
&gt; &gt; Best,<br>
&gt; &gt; JS<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hello everyone,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;m getting an error after doing make in the x86 directory related to<br>
&gt; &gt; &gt; inline assembly:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /home/marcelosousa/Research/llvmlinux/targets/x86_64/src/linux/arch/x86/<br>
&gt; &gt; &gt; in<br>
&gt; &gt; &gt; cl ude/asm/bitops.h:70:16: error: ambiguous instructions require an<br>
&gt; &gt; &gt; explicit suffix (could be &#39;btsw&#39;, &#39;btsl&#39;, or &#39;btsq&#39;)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;                 asm volatile(LOCK_PREFIX &quot;bts %1,%0&quot;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;                              ^<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /home/marcelosousa/Research/llvmlinux/targets/x86_64/src/linux/arch/x86/<br>
&gt; &gt; &gt; in<br>
&gt; &gt; &gt; cl ude/asm/alternative.h:38:41: note: expanded from macro &#39;LOCK_PREFIX&#39;<br>
&gt; &gt; &gt; #define LOCK_PREFIX LOCK_PREFIX_HERE &quot;\n\tlock; &quot;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;                                         ^<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &lt;inline asm&gt;:6:8: note: instantiated into assembly here<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;         lock; bts $10,(%rcx)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;               ^<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 1 warning and 14 errors generated.<br>
&gt; &gt; &gt; make[2]: *** [mm/page_alloc.o] Error 1<br>
&gt; &gt; &gt; make[1]: *** [mm] Error 2<br>
&gt; &gt; &gt; make[1]: Leaving directory<br>
&gt; &gt; &gt; `/home/marcelosousa/Research/llvmlinux/targets/x86_64/src/linux&#39;<br>
&gt; &gt; &gt; Command exited with non-zero status 2<br>
&gt; &gt; &gt; ---------------------------------------------------------------------<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;  Build Time<br>
&gt; &gt; &gt;  ---------------------------------------------------------------------<br>
&gt; &gt; &gt;  User time (seconds): 39.09<br>
&gt; &gt; &gt;  System time (seconds): 3.93<br>
&gt; &gt; &gt;  Percent of CPU this job got: 611%<br>
&gt; &gt; &gt;  Elapsed (wall clock) time (h:mm:ss or m:ss): 0:07.03<br>
&gt; &gt; &gt;  Maximum resident set size (kbytes): 333152<br>
&gt; &gt; &gt;  Major (requiring I/O) page faults: 1<br>
&gt; &gt; &gt;  Minor (reclaiming a frame) page faults: 1783335<br>
&gt; &gt; &gt;  Voluntary context switches: 8911<br>
&gt; &gt; &gt;  Involuntary context switches: 42882<br>
&gt; &gt; &gt;  Command being timed: &quot;make -j17 CONFIG_DEBUG_INFO=1<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y<br>
&gt; &gt; &gt; CC=/home/marcelosousa/Research/llvmlinux/toolchain/clang/install/bin/cla<br>
&gt; &gt; &gt; ng<br>
&gt; &gt; &gt; &quot; Swaps: 0<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;  File system inputs: 16<br>
&gt; &gt; &gt;  File system outputs: 26568<br>
&gt; &gt; &gt;  Page size (bytes): 4096<br>
&gt; &gt; &gt;  Exit status: 2<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; make: *** [state/kernel-build] Error 2<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Any thoughts?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Kind regards,<br>
&gt; &gt; &gt; Marcelo<br>
</div></div></blockquote></div><br></div>