hello sir, in llvm installation ./configure command worked properly but while giving make -j 4 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/ build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools/clang/tools/driver' make[3]: *** [all] Error 1 make[3]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools/clang/tools' make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools/clang' make[1]: *** [clang/.makeall] Error 2 make[1]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools' make: *** [all] Error 1 it stopped building later by showing prompt simply.please help me to proceed. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130210/a17dc6e2/attachment.html>
You should use make -j with a number lower than 4, it looks like you ran out of memory when linking. On 10 February 2013 15:41, Manoj C <manoj.chinthala at gmail.com> wrote:> hello sir, > in llvm installation ./configure command worked properly but while > giving > make -j 4 command in ubuntu > > everything got build properly but at last it showed error as > > llvm[4]: Linking Debug+Asserts executable clang > collect2: ld terminated with signal 9 [Killed] > make[4]: *** [/home/manoj/Desktop/LLVM/ > build/Debug+Asserts/bin/clang] Error 1 > make[4]: Leaving directory > `/home/manoj/Desktop/LLVM/build/tools/clang/tools/driver' > make[3]: *** [all] Error 1 > make[3]: Leaving directory > `/home/manoj/Desktop/LLVM/build/tools/clang/tools' > make[2]: *** [all] Error 1 > make[2]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools/clang' > make[1]: *** [clang/.makeall] Error 2 > make[1]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools' > make: *** [all] Error 1 > it stopped building later by showing prompt simply.please help me to > proceed. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130210/32e82ee5/attachment.html>
What I did for x86_64 bit system was set hostas x86_64, disable assert and enable optimsed, (For All these config options was collected after going through ./configure --help) and then simply make followed by make install On Sun, Feb 10, 2013 at 9:16 PM, Joey Gouly <joel.gouly at gmail.com> wrote:> You should use make -j with a number lower than 4, it looks like you ran > out of memory when linking. > > > On 10 February 2013 15:41, Manoj C <manoj.chinthala at gmail.com> wrote: > >> hello sir, >> in llvm installation ./configure command worked properly but while >> giving >> make -j 4 command in ubuntu >> >> everything got build properly but at last it showed error as >> >> llvm[4]: Linking Debug+Asserts executable clang >> collect2: ld terminated with signal 9 [Killed] >> make[4]: *** [/home/manoj/Desktop/LLVM/ >> build/Debug+Asserts/bin/clang] Error 1 >> make[4]: Leaving directory >> `/home/manoj/Desktop/LLVM/build/tools/clang/tools/driver' >> make[3]: *** [all] Error 1 >> make[3]: Leaving directory >> `/home/manoj/Desktop/LLVM/build/tools/clang/tools' >> make[2]: *** [all] Error 1 >> make[2]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools/clang' >> make[1]: *** [clang/.makeall] Error 2 >> make[1]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools' >> make: *** [all] Error 1 >> it stopped building later by showing prompt simply.please help me to >> proceed. >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-- Warm Regards --Dev OpenPegasus Developer "It's Always better to try and fail instead of not doing/trying anything" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130210/09225b03/attachment.html>