[cfe-dev] Problem building LLVM + Clang

Demikhovsky, Elena via cfe-dev cfe-dev at lists.llvm.org
Sun Jun 5 22:24:23 PDT 2016


I had the same problem with Ubuntu 14. You just should enlarge swap file on your system.

-           Elena

From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Khawar Sajjad via cfe-dev
Sent: Sunday, June 05, 2016 12:34
To: cfe-dev at lists.llvm.org
Subject: [cfe-dev] Problem building LLVM + Clang

Hello guys,
I have followed LLVM + Clang build instructions from http://clang.llvm.org/get_started.html to build clang from source on 16-bit ubuntu 14.04. It compiled for more than 10hrs but the build exited with the following message.

Linking CXX shared library ../../../../lib/libclang.so
collect2: error: ld terminated with signal 9 [Killed]
make[2]: *** [lib/libclang.so.3.9] Error 1
make[2]: *** Deleting file `lib/libclang.so.3.9'
make[1]: *** [tools/clang/tools/libclang/CMakeFiles/libclang.dir/all] Error 2
make: *** [all] Error 2

Can anyone help??

Thanks
Sajjad
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160606/cdd47343/attachment.html>


More information about the cfe-dev mailing list