[llvm-dev] llvm build failed while Linking CXX shared library ../../../lib/libc++.so

Ioannis Koukoulis via llvm-dev llvm-dev at lists.llvm.org
Sat Mar 26 08:04:01 PDT 2016


Hello everybody,

I am very new to llvm and I am struggling to install it on my 15.10 Xubuntu
with kernel 4.2.0-34-generic #39-Ubuntu SMP x86_64 GNU/Linux.

I essentially intend to use the clang static analyzer, but it seems that I
have to build it on top of llvm and clang.

Unfortunately I run into the following problem.
CXX shared library ../../../lib/libc++.so
at around 52% of the procedure (while building target gtest_main)
followed by a handful of undefined references

the last lines consist of the following messages:
collect2: error: ld returned 1 exit status
projects/libcxx/lib/CMakeFiles/cxx.dir/build.make:735: recipe for target
'lib/libc++.so.1.0' failed
make[2]: *** [lib/libc++.so.1.0] Error 1
CMakeFiles/Makefile2:11552: recipe for target
'projects/libcxx/lib/CMakeFiles/cxx.dir/all' failed
make[1]: *** [projects/libcxx/lib/CMakeFiles/cxx.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

Can someone please help me go further?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160326/f356d085/attachment.html>


More information about the llvm-dev mailing list