<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/13/14 06:25, zhanglf wrote:<br>
    </div>
    <blockquote cite="mid:tencent_267C37927FFAD2470CA01082@qq.com"
      type="cite"><br>
      <div>First when we ran <font color="#0000ff">$ make
          CONFIG=config.mk sync-all</font> in
        ../llvmlinux/targets/nexus7 directory, <span style="line-height:
          1.5;"> </span><span style="line-height: 1.5;">we get this
          error</span></div>
      <div>
        <div>               
           ---------------------------------------------------------------------</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>Cloning
          shared kernel repo...</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>---------------------------------------------------------------------</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>Cloning
          into bare repository
          '/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git'...</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>remote:
          Counting objects: 3648768, done.</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>remote:
          Compressing objects: 100% (552089/552089), done.</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span><font
            color="#ff0000">fatal: read error: Operation timed out8),
            175.42 MiB | 114.00 KiB/s   </font></div>
        <div><font color="#ff0000"><span class="Apple-tab-span"
              style="white-space:pre"> </span>fatal: early EOF</font></div>
        <div><font color="#ff0000"><span class="Apple-tab-span"
              style="white-space:pre"> </span>fatal: index-pack failed</font></div>
        <div><font color="#ff0000"><span class="Apple-tab-span"
              style="white-space:pre"> </span>make[1]: ***
            [/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git]
            Error 128</font></div>
        <div><font color="#ff0000"><span class="Apple-tab-span"
              style="white-space:pre"> </span>make: *** [sync-all]
            Error 2</font></div>
      </div>
    </blockquote>
    <br>
    What happened was that the git operation timed out. Had you just run
    it again, it may have not timed out the second time. Probably just a
    network connectivity problem at the time.<br>
    <br>
    <blockquote cite="mid:tencent_267C37927FFAD2470CA01082@qq.com"
      type="cite">
      <div><br>
      </div>
      <div><span style="line-height: 1.5;">then I made a directory </span><span
          style="line-height: 1.5;">/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git'
          and do git init in this directory.</span></div>
    </blockquote>
    I'm afraid by doing this you caused all the errors you posted after
    this. Delete that directory and start again.<br>
    <br>
    rm -rf <span style="line-height: 1.5;"></span><span
      style="line-height: 1.5;">/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git<br>
      cd </span><span style="line-height: 1.5;"><span
        style="line-height: 1.5;">/Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7<br>
      </span>make CONFIG=config.mk sync-all<br>
      <br>
      It should work then.<br>
    </span><br>
    <blockquote cite="mid:tencent_267C37927FFAD2470CA01082@qq.com"
      type="cite">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!<br>
    </blockquote>
    In this case, it wasn't an issue, but we don't currently guarantee
    that the LLVMLinux build system works on anything other than Linux.
    It's purely a matter that none of the people in the project use
    anything other than Linux. Essentially, although it probably works
    on OSX, nobody is currently testing that it works on anything other
    than Linux.<br>
    <br>
    Patches always welcome of course.<br>
    <br>
    Behan<br>
    <pre class="moz-signature" cols="72">-- 
Behan Webster
<a class="moz-txt-link-abbreviated" href="mailto:behanw@converseincode.com">behanw@converseincode.com</a></pre>
  </body>
</html>