llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.92k stars 11.52k forks source link

Undefined references linking `lib/libc++.so` #28204

Open llvmbot opened 8 years ago

llvmbot commented 8 years ago
Bugzilla Link 27830
Version trunk
OS Linux
Attachments [output of cmake -G "Unix Makefiles" ..https://user-images.githubusercontent.com/60944935/143753553-99c1f457-9ac3-467d-83bc-cf0cc4d34489.gz), [std(err out) of make](https://user-images.githubusercontent.com/60944935/143753554-e064c17c-35a8-4ed0-8556-a7b45451e619.gz)
Reporter LLVM Bugzilla Contributor

Extended Description

Following the instructions on http://clang.llvm.org/get_started.html I've taken all the steps, even the optional ones, for linux.

At step 7, make fails when trying to link ../../lib/libc++.so because of undefined references such as: __cxa_guard_acquire

I've attached the (stdout & stderr) output from make using make &> llvm_make_error.txt

Cmake output seems fine, attached that as well.

tama@TARDIS:~/llvmbuild$ uname --all
Linux TARDIS 3.13.0-76-generic #​120-Ubuntu SMP Mon Jan 18 15:58:41 UTC 2016 i686 athlon i686 GNU/Linux
llvmbot commented 8 years ago

I've done a fresh install of debian and reproduced the problem here too:

Linux serenity 3.16.0-4-amd64 #​1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

The error message is the same but let me know if it helps to attach the one from this machine as well.

I also find it highly suspicious that after following the installation instructions, my svn status is this:

?       projects/compiler-rt
?       projects/libcxx

Does anyone look at these bug reports?

Endilll commented 1 month ago

Does anyone look at these bug reports?

Yes, but you have to be rather patient.