[llvmlinux] Problem in Sync and fetch needed external projects

Tinti viniciustinti at gmail.com
Fri Jun 13 13:41:52 UTC 2014


Hi Lifang Zhang,

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.

If you have problems let me know. I can sent you a prebuilt kernel image.

Regards,
Vinícius


On Fri, Jun 13, 2014 at 10:25 AM, zhanglf <zhanglf at morningtec.cn> wrote:

> Dear sir or Madam,
>
> I am Lifang Zhang from MorningTech. We want to use LLVMLinux to replace
> the default linux kernel in Nexus 7 but we have encountered some problems
> during building the kernel. We follow the guide from your website
> http://llvm.linuxfoundation.org/index.php/Nexus_7. We had problem with
> the step Sync and fetch the needed external projects. The problems are:
>
> First when we ran $ make CONFIG=config.mk sync-all in
> ../llvmlinux/targets/nexus7 directory,  we get this error
>
>  ---------------------------------------------------------------------
> Cloning shared kernel repo...
> ---------------------------------------------------------------------
> Cloning into bare repository
> '/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git'...
> remote: Counting objects: 3648768, done.
> remote: Compressing objects: 100% (552089/552089), done.
> fatal: read error: Operation timed out8), 175.42 MiB | 114.00 KiB/s
> fatal: early EOF
> fatal: index-pack failed
> make[1]: ***
> [/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git] Error 128
> make: *** [sync-all] Error 2
>
> then I made a directory /Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git'
> and do git init in this directory. Then I went back to the ..llvmlinux/targets/nexus7
> directory and ran make CONFIG=config.mk sync-all command, but I got
> following error:
>
>          Syncing shared kernel.org kernel...
> ---------------------------------------------------------------------
> fatal: 'origin' does not appear to be a git repository
> fatal: Could not read from remote repository.
>  Please make sure you have the correct access rights
> and the repository exists.
> make[1]: *** [kernel-shared-sync] Error 128
> make: *** [sync-all] Error 2
>
> But I can get the following and can git clone
> http://git.linuxfoundation.org/llvmlinux.git successfully:
>         $ git remote -v
> origin http://git.linuxfoundation.org/llvmlinux.git (fetch)
> origin http://git.linuxfoundation.org/llvmlinux.git (push)
>
>         $ git clone http://git.linuxfoundation.org/llvmlinux.git
> Cloning into 'llvmlinux'...
> remote: Counting objects: 11643, done.
> remote: Compressing objects: 100% (8244/8244), done.
> remote: Total 11643 (delta 7516), reused 5269 (delta 3189)
> Receiving objects: 100% (11643/11643), 13.08 MiB | 20.00 KiB/s, done.
> Resolving deltas: 100% (7516/7516), done.
>
> Then I continued to run `make CONFIG=config.mk sync-all`, but get the
> same errors:
>
>         Syncing shared kernel.org kernel...
> ---------------------------------------------------------------------
> fatal: 'origin' does not appear to be a git repository
> fatal: Could not read from remote repository.
>  Please make sure you have the correct access rights
> and the repository exists.
> make[1]: *** [kernel-shared-sync] Error 128
> make: *** [sync-all] Error 2
>
> 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!
>
> ------------------
> Thanks and best regards,
> Lifang Zhang
> E: zhanglf at morningtec.cn <wuqw at morningtec.cn>
> W: www.morningtec.cn
> A: Office 915, Hongyi Building, 2158 Wanyuan Road Minhang Direction,
> Shanghai, China
>
>
> _______________________________________________
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux
>



-- 
Simplicity is the ultimate sophistication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20140613/6ec1c4c7/attachment-0001.html>


More information about the LLVMLinux mailing list