[LLVMdev] unable to build clang/llvm

Stephen Lin swlin at post.harvard.edu
Wed Apr 17 08:37:01 PDT 2013


Looks like you ran out of memory linking clang. You either need to
allocate more physical RAM (if you're using a VM), increase swap,
and/or build the release build instead (it uses less memory).

On Wed, Apr 17, 2013 at 11:07 AM, Blind Faith <person.of.book at gmail.com> wrote:
> I followed the instructions given on http://clang.llvm.org/get_started.html
> to build clang/llvm, but when I do make, I get the following errors.
>
> collect2: ld terminated with signal 9 [Killed]
> make[4]: *** [/home/me/build/Debug+Asserts/bin/clang] Error 1
> make[4]: Leaving directory `/home/me/build/tools/clang/tools/driver'
> make[3]: *** [all] Error 1
> make[3]: Leaving directory `/home/me/build/tools/clang/tools'
> make[2]: *** [all] Error 1
> make[2]: Leaving directory `/home/me/build/tools/clang'
> make[1]: *** [clang/.makeall] Error 2
> make[1]: Leaving directory `/home/me/build/tools'
> make: *** [all] Error 1
>
> Any idea, what is wrong here?
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list