<div>Hi,&nbsp;<span style="font-family: Arial; line-height: 1.5;">Vinícius,</span></div><div><span style="font-family: Arial;"><br></span></div><div><span style="font-family: Arial;">Thanks a lot for your prompt answer, I really appreciate that. I am trying to do it from the beginning, and it is downloading now and it seems that the first error we encountered does not appear this time.</span></div><div><span style="font-family: Arial;"><br></span></div><div><font face="Arial">Actually we want to make the LLVMLinux project build on OS X. Do you know what extra work we should do? Is there any case that builds the project on OS X successfully?&nbsp;</font></div><div><font face="Arial"><br></font></div><div><font face="Arial">Many thanks :)&nbsp;</font></div><div><br></div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div><span lang="EN-US" style="font-family: Arial; line-height: normal;"><span class="apple-style-span">Lifang Zhang&nbsp;</span><br><span class="apple-style-span">E: zhanglf<a href="mailto:wuqw@morningtec.cn" target="_blank" style="outline: none; color: rgb(42, 88, 111);">@morning<wbr>tec.cn</a></span>&nbsp;<br><span class="apple-style-span">W</span></span><span class="apple-style-span" style="font-family: Arial; line-height: normal;">:&nbsp;<span lang="EN-US">www.morningtec.cn</span></span><span lang="EN-US" style="font-family: Arial; line-height: normal;">&nbsp;<br><span class="apple-style-span">A:</span><span class="MsoHyperlink">&nbsp;O</span><span class="apple-style-span">ffice 915, Hongyi Building, 2158 Wanyuan Road Minhang Direction, Shanghai, China</span></span></div>
</div></sign></div><div><qzone></qzone></div><div>&nbsp;</div><div><includetail><div>&nbsp;</div><div>&nbsp;</div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;Original&nbsp;------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b>&nbsp;"Tinti"&lt;viniciustinti@gmail.com&gt;;</div><div><b>Date: </b>&nbsp;Fri, Jun 13, 2014 09:41 PM</div><div><b>To: </b>&nbsp;"zhanglf"&lt;zhanglf@morningtec.cn&gt;; <wbr></div><div><b>Cc: </b>&nbsp;"llvmlinux"&lt;llvmlinux@lists.linuxfoundation.org&gt;; "岑鹏浩"&lt;cenph@morningtec.cn&gt;; "陈文琦"&lt;chenwq@morningtec.cn&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re: [llvmlinux] Problem in Sync and fetch needed external projects</div></div><div>&nbsp;</div><div dir="ltr">Hi&nbsp;<span style="color:rgb(0,0,0);font-family:Arial;font-size:14px">Lifang Zhang,</span><div><span style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></span></div><div><font color="#000000" face="Arial"><span style="font-size:14px">The LLVMLinux project is done in Linux. Thus I don't think you will be able to make it build on OS X (without some extra work). I suggest you to either try building it on a supported Linux distro (i.e. Ubuntu 12.04 or 14.04) or install a virtual machine with it.<br>
<br>If you have problems let me know. I can sent you a prebuilt kernel image.</span></font></div><div><font color="#000000" face="Arial"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="Arial"><span style="font-size:14px">Regards,</span></font></div>
<div><font color="#000000" face="Arial"><span style="font-size:14px">Vinícius</span></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 10:25 AM, zhanglf <span dir="ltr">&lt;<a href="mailto:zhanglf@morningtec.cn" target="_blank">zhanglf@morningtec.cn</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Dear sir or Madam,</div><div><br></div><div>I am Lifang Zhang from MorningTech. We want to use LLVMLinux to replace the default linux kernel in Nexus 7<font color="#efefef" face="trebuchet ms, arial, helvetica, sans-serif"><span style="font-size:12px;line-height:normal"><b>&nbsp;</b></span></font><span style="line-height:1.5">but we have encountered some problems during building the kernel. We follow the guide from your website&nbsp;<a href="http://llvm.linuxfoundation.org/index.php/Nexus_7" target="_blank">http://llvm.linuxfoundation.org/index.php/Nexus_7</a>. We had problem with the step Sync and fetch the needed external projects. The problems are:</span></div>
<div><br></div><div>First when we ran <font color="#0000ff">$ make CONFIG=<a href="http://config.mk" target="_blank">config.mk</a> sync-all</font> in ../llvmlinux/targets/nexus7 directory,&nbsp;<span style="line-height:1.5">&nbsp;</span><span style="line-height:1.5">we get this error</span></div>
<div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;---------------------------------------------------------------------</div><div><span style="white-space:pre-wrap">                </span>Cloning shared kernel repo...</div><div><span style="white-space:pre-wrap">                </span>---------------------------------------------------------------------</div>
<div><span style="white-space:pre-wrap">                </span>Cloning into bare repository '/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git'...</div><div><span style="white-space:pre-wrap">                </span>remote: Counting objects: 3648768, done.</div>
<div><span style="white-space:pre-wrap">                </span>remote: Compressing objects: 100% (552089/552089), done.</div><div><span style="white-space:pre-wrap">                </span><font color="#ff0000">fatal: read error: Operation timed out8), 175.42 MiB | 114.00 KiB/s &nbsp;&nbsp;</font></div>
<div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>fatal: early EOF</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>fatal: index-pack failed</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>make[1]: *** [/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git] Error 128</font></div>
<div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>make: *** [sync-all] Error 2</font></div></div><div><br></div><div><span style="line-height:1.5">then I made a directory&nbsp;</span><span style="line-height:1.5">/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git' and do git init in this directory. Then I went back to the ..</span><span style="line-height:1.5">llvmlinux/targets/nexus7 directory and ran&nbsp;</span><span style="line-height:1.5">make CONFIG=<a href="http://config.mk" target="_blank">config.mk</a> sync-all command, but I got following error:</span></div>
<div><span style="line-height:1.5"><br></span></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syncing shared <a href="http://kernel.org" target="_blank">kernel.org</a> kernel...</div><div><span style="white-space:pre-wrap">        </span>---------------------------------------------------------------------</div>
<div><span style="white-space:pre-wrap">        </span><font color="#ff0000">fatal: 'origin' does not appear to be a git repository</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">        </span>fatal: Could not read from remote repository.</font></div>
<div><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap">        </span>Please make sure you have the correct access rights</div><div><span style="white-space:pre-wrap">        </span>and the repository exists.</div>
<div><span style="white-space:pre-wrap">        </span>make[1]: *** [kernel-shared-sync] Error 128</div><div><span style="white-space:pre-wrap">        </span>make: *** [sync-all] Error 2</div></div><div><span style="line-height:1.5"><br>
</span></div><div><span style="line-height:1.5">But I can get the following and can git clone&nbsp;</span><span style="line-height:1.5"><a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a> successfully</span><span style="line-height:1.5">:</span></div>
<div><span style="line-height:1.5">&nbsp; &nbsp; &nbsp; &nbsp; $ git remote -v</span></div><div><span style="white-space:pre-wrap">        </span>origin<span style="white-space:pre-wrap">        </span><a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a> (fetch)</div>
<div><span style="white-space:pre-wrap">        </span>origin<span style="white-space:pre-wrap">        </span><a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a> (push)</div>
<div><span style="line-height:1.5"><br></span></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; $ git clone <a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a></div><div><span style="white-space:pre-wrap">        </span>Cloning into 'llvmlinux'...</div>
<div><span style="white-space:pre-wrap">        </span>remote: Counting objects: 11643, done.</div><div><span style="white-space:pre-wrap">        </span>remote: Compressing objects: 100% (8244/8244), done.</div><div><span style="white-space:pre-wrap">        </span>remote: Total 11643 (delta 7516), reused 5269 (delta 3189)</div>
<div><span style="white-space:pre-wrap">        </span>Receiving objects: 100% (11643/11643), 13.08 MiB | 20.00 KiB/s, done.</div><div><span style="white-space:pre-wrap">        </span>Resolving deltas: 100% (7516/7516), done.</div></div>
<div><br></div><div>Then I continued to run `make CONFIG=<a href="http://config.mk" target="_blank">config.mk</a> sync-all`, but get the same errors:</div><div><br></div><div><div style="line-height:21px">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Syncing shared <a href="http://kernel.org" target="_blank">kernel.org</a> kernel...</div>
<div style="line-height:21px"><span style="white-space:pre-wrap">        </span>---------------------------------------------------------------------</div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span><font color="#ff0000">fatal: 'origin' does not appear to be a git repository</font></div>
<div style="line-height:21px"><font color="#ff0000"><span style="white-space:pre-wrap">        </span>fatal: Could not read from remote repository.</font></div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span></div>
<div style="line-height:21px"><span style="white-space:pre-wrap">        </span>Please make sure you have the correct access rights</div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span>and the repository exists.</div>
<div style="line-height:21px"><span style="white-space:pre-wrap">        </span>make[1]: *** [kernel-shared-sync] Error 128</div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span>make: *** [sync-all] Error 2</div>
</div><div><br></div><div>And I can't find solutions from the Internet. Can you help me out with this? And the operation system we use is Mac OS X Version 10.8.5. Thanks a lot!</div><div><br></div><div><span style="">------------------</span></div>
<div>Thanks and best regards,</div><div><u></u><div style="font-size:14px;font-family:Verdana;color:#000"><div><span lang="EN-US" style="font-family:Arial;line-height:normal">Lifang Zhang<br><span>E: zhanglf<a href="mailto:wuqw@morningtec.cn" style="outline:none;color:rgb(42,88,111)" target="_blank">@morning<u></u>tec.cn</a></span>&nbsp;<br>
<span>W</span></span><span style="font-family:Arial;line-height:normal">:&nbsp;<span lang="EN-US"><a href="http://www.morningtec.cn" target="_blank">www.morningtec.cn</a></span></span><span lang="EN-US" style="font-family:Arial;line-height:normal">&nbsp;<br>
<span>A:</span><span>&nbsp;O</span><span>ffice 915, Hongyi Building, 2158 Wanyuan Road Minhang Direction, Shanghai, China</span></span></div>
</div><u></u></div><div><u></u><u></u></div><div>&nbsp;</div><br>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">
Simplicity is the ultimate sophistication<br></div>
</div>

</div></includetail></div>