<div dir="ltr">I just tried to compile lldb-server for Android-MIPS64 and it built without any issue (based on <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lldb.llvm.org_build.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=kRi89bXhfwB6nvKHs29hS48fLWaePUzfcs_99flEC6A&s=vCzCUOp8zx1eqTtqsXQ3KZcI3jFf05lBatnDiot_Zp8&e=">http://lldb.llvm.org/build.html</a> "Example 2: Cross-compiling for Android on Linux") but I haven't tried it out how well it works. If I remember correctly the version of Clang shipped with the Android-NDK (Clang-3.5) don't support all atomic operation used by LLDB so you have to use GCC (shipped with the NDK) to compile LLDB for android.<div><br></div><div>Regards,</div><div>Tamas</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 7, 2015 at 9:38 AM Jaydeep Patil <<a href="mailto:Jaydeep.Patil@imgtec.com">Jaydeep.Patil@imgtec.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-IN" link="blue" vlink="purple">
<div>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Andrzej, Vince<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">lldb-server is available for MIPS Linux (both 32 and 64 bit). We are planning to start on Android by end of Jul. We will keep you updated on the progress of
 this.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">For error on ‘__atomic_fetch_add_8’ symbol, could you please try linking with the atomic library?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Jaydeep<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nitesh Jain
<br>
<b>Sent:</b> 07 July 2015 PM 12:06<br>
<b>To:</b> Jaydeep Patil<br>
<b>Subject:</b> FW: [lldb-dev] lldb-server for MIPS<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Vince Harron [mailto:<a href="mailto:vince@nethacker.com" target="_blank">vince@nethacker.com</a>]
<br>
<b>Sent:</b> 07 July 2015 01:16<br>
<b>To:</b> Andrzej; Nitesh Jain<br>
<b>Cc:</b> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<b>Subject:</b> Re: [lldb-dev] lldb-server for MIPS<u></u><u></u></span></p></div></div><div lang="EN-IN" link="blue" vlink="purple"><div>
<p class="MsoNormal"><u></u> <u></u></p>
<p>Hi Nitesh,<u></u><u></u></p>
<p>Any updates?<u></u><u></u></p>
<p>Vince<u></u><u></u></p>
<div>
<p class="MsoNormal">On Jul 6, 2015 8:46 AM, "Andrzej" <<a href="mailto:andrzej@codeplay.com" target="_blank">andrzej@codeplay.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hi everyone,<br>
<br>
I'm looking into lldb-server and trying to use it with MIPS devices (32 and 64 bit) running Android. Could anyone confirm that lldb-server is/isn't working for this configuration? Is anyone currently working on it? Or using it with this set-up at all?<br>
<br>
Ideally I would like to be able to built lldb-server for MIPS and investigate its functionality. However, I'm not even able to generate the binaries. I get a lot of linking errors indicating that the `__atomic_fetch_add_8' symbol is undefined. A hint as where
 to look for a working binary (or which commit to use to generate one), as well as any info regarding lldb-server for MIPS, would be much appreciated.<br>
<br>
Thanks,<br>
Andrzej<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><u></u><u></u></p>
</div>
</div></div>

_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
</blockquote></div>