<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"><<a href="mailto:jsmoeller@linuxfoundation.org" target="_blank">jsmoeller@linuxfoundation.org</a>></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>
> I could reproduce it. Meanwhile, you could readd<br>
><br>
> arch/x86_64/patches/ARCHIVE/002x-Changes-to-BT-operations.-Mostly-BTC-<br>
> BTCL.patch to<br>
> arch/x86_64/patches/<br>
><br>
> and add it to arch/x86_64/patches/series<br>
><br>
> Then<br>
> make kernel-clean kernel-quilt-clean<br>
> make<br>
><br>
</div><div class="HOEnZb"><div class="h5">> > Hi Marcelo,<br>
> ><br>
> > can you describe what steps you did take ?<br>
> ><br>
> > Plain checkout + cd targets/x86_64 + make ?<br>
> ><br>
> ><br>
> > What revision of the llvmlinux do you use ? Please paste:<br>
> ><br>
> > cd targets/x86_64<br>
> > make list-config<br>
> ><br>
> > Best,<br>
> > JS<br>
> ><br>
> > > Hello everyone,<br>
> > ><br>
> > > I'm getting an error after doing make in the x86 directory related to<br>
> > > inline assembly:<br>
> > ><br>
> > > /home/marcelosousa/Research/llvmlinux/targets/x86_64/src/linux/arch/x86/<br>
> > > in<br>
> > > cl ude/asm/bitops.h:70:16: error: ambiguous instructions require an<br>
> > > explicit suffix (could be 'btsw', 'btsl', or 'btsq')<br>
> > ><br>
> > > asm volatile(LOCK_PREFIX "bts %1,%0"<br>
> > ><br>
> > > ^<br>
> > ><br>
> > > /home/marcelosousa/Research/llvmlinux/targets/x86_64/src/linux/arch/x86/<br>
> > > in<br>
> > > cl ude/asm/alternative.h:38:41: note: expanded from macro 'LOCK_PREFIX'<br>
> > > #define LOCK_PREFIX LOCK_PREFIX_HERE "\n\tlock; "<br>
> > ><br>
> > > ^<br>
> > ><br>
> > > <inline asm>:6:8: note: instantiated into assembly here<br>
> > ><br>
> > > lock; bts $10,(%rcx)<br>
> > ><br>
> > > ^<br>
> > ><br>
> > > 1 warning and 14 errors generated.<br>
> > > make[2]: *** [mm/page_alloc.o] Error 1<br>
> > > make[1]: *** [mm] Error 2<br>
> > > make[1]: Leaving directory<br>
> > > `/home/marcelosousa/Research/llvmlinux/targets/x86_64/src/linux'<br>
> > > Command exited with non-zero status 2<br>
> > > ---------------------------------------------------------------------<br>
> > ><br>
> > > Build Time<br>
> > > ---------------------------------------------------------------------<br>
> > > User time (seconds): 39.09<br>
> > > System time (seconds): 3.93<br>
> > > Percent of CPU this job got: 611%<br>
> > > Elapsed (wall clock) time (h:mm:ss or m:ss): 0:07.03<br>
> > > Maximum resident set size (kbytes): 333152<br>
> > > Major (requiring I/O) page faults: 1<br>
> > > Minor (reclaiming a frame) page faults: 1783335<br>
> > > Voluntary context switches: 8911<br>
> > > Involuntary context switches: 42882<br>
> > > Command being timed: "make -j17 CONFIG_DEBUG_INFO=1<br>
> > ><br>
> > > CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y<br>
> > > CC=/home/marcelosousa/Research/llvmlinux/toolchain/clang/install/bin/cla<br>
> > > ng<br>
> > > " Swaps: 0<br>
> > ><br>
> > > File system inputs: 16<br>
> > > File system outputs: 26568<br>
> > > Page size (bytes): 4096<br>
> > > Exit status: 2<br>
> > ><br>
> > > make: *** [state/kernel-build] Error 2<br>
> > ><br>
> > > Any thoughts?<br>
> > ><br>
> > > Kind regards,<br>
> > > Marcelo<br>
</div></div></blockquote></div><br></div>