<div dir="ltr">Hello <span style="font-size:12.8px;font-weight:bold;white-space:nowrap">Everybody</span>,<div><br></div><div>Thank you for your interest now it seems I can sort out this problem with the help of you peoples.</div><div><br></div><div>Christopher, does your version of CRIU on Android was statically linked or dynamically linked.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font size="2">Best Regard -- <font color="#0b5394">ALLAH Hafiz</font>, <font color="#0b5394">May</font><font color="#0b5394"> Almighty ALLAH bless you</font></font></div>
        
  <p style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px">
      
    </p>
    <table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:18.2000007629395px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;width:auto"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a href="https://about.me/yousafzaiabdullah?promo=email_sig" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;display:inline-block" target="_blank"><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:48px;line-height:1"><img alt="--" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><img src="https://s.gravatar.com/avatar/fed5b9284cee3e24148b0240c5def1e1?s=80" alt="" width="48" height="48" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block"></div></td><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:8px"> </td><td align="left" valign="middle" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:middle;width:auto;height:48px;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(51,51,51)">Abdullah Yousafzai</div><div style="margin:2px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline"><img alt="https://" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden">about.me/yousafzaiabdullah</div></td></tr></tbody></table></a>                                 </div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:20px"><img src="https://about.me/t/sig?u=yousafzaiabdullah" width="1" height="1" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;overflow:hidden"></td></tr></tbody></table>
     <p style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px">
      </p>

    <p style="font-family:Helvetica,Arial,sans-serif;font-size:9px;line-height:12px"></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jan 25, 2016 at 9:45 PM, Christopher Covington <span dir="ltr">&lt;<a href="mailto:cov@codeaurora.org" target="_blank">cov@codeaurora.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Abdullah,<br>
<div><div class="h5"><br>
On 01/25/2016 04:41 AM, Cyrill Gorcunov wrote:<br>
&gt; On Mon, Jan 25, 2016 at 12:33:55PM +0300, Pavel Emelyanov wrote:<br>
&gt;&gt; On 01/22/2016 05:52 AM, Abdullah Yousafzai wrote:<br>
&gt;&gt;&gt; Compiling CRIU for arm64 is straight and work as piece of cake but I need it to compile it for<br>
&gt;&gt;&gt; android and specifically on ARM64. So for this reason I have to rewrite the Makefiles to<br>
&gt;&gt;&gt; Android.mk in order to be understandable and in compliance with the android build environment.<br>
&gt;&gt;&gt; I only need to checkpoint user apps and check the behavior on Android any help on breaking down<br>
&gt;&gt;&gt; the existing Makefile and transforming it to Android.mk will be appreciated.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve CC-ed Christopher for help with ARM and Cyrill for help with Makefiles.<br>
&gt;<br>
&gt; Sorry for not replying early, managed to miss the mail. I&#39;m ready to help but<br>
&gt; the problem is that I&#39;ve no clue about Android specifics. I&#39;ve been playing with<br>
&gt; andoid apps but they were using ant tool for building applications which is<br>
&gt; very different from traditional make.<br>
<br>
</div></div>My suggestion would be to start with a stub Android.mk that calls the<br>
existing makefiles. I believe the Linux kernel Android.mk can be<br>
referred to as an example of this. There are burdens and benefits to<br>
writing and maintaining a parallel set of build instructions. I think a<br>
stub Android.mk could deliver many of the benefits with little of the<br>
burden. Once that&#39;s working, committed, and in use, I think it will be<br>
clearer what larger-scale changes and additions would be most useful.<br>
<br>
I&#39;ve run CRIU on Android (both AArch32 and AArch64), but it was built<br>
against the GNU C library, not the Android C library, Bionic. There have<br>
been some other Android efforts in the past. You could search the<br>
mailing list archives; I unfortunately don&#39;t remember the details. It&#39;s<br>
possible some Bionic porting will be required, in addition to handling<br>
Android-specific resources.<br>
<br>
Regards,<br>
Christopher Covington<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Qualcomm Innovation Center, Inc.<br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,<br>
a Linux Foundation Collaborative Project<br>
</font></span></blockquote></div><br></div>