https://llvm.org/bugs/show_bug.cgi?id=23755
Bug ID: 23755
Summary: attempted to build llvm again using formerly built
llvm
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
downloaded sources for 3.6.1
extracted the tarballs
clang extra tools was symlinked into the clang source tree as tools/extra
clang was symlinked into llvm source tree as tools/clang
lld was symlinked into llvm source tree as tools/lld
compiler-rt was symlinked into llvm source tree as projects/compiler-rt
libcxx was symlinked into llvm source tree as projects/libcxx
libcxxabi was symlinked into llvm source tree as projects/libcxxabi
I built this once using GCC and libstdc++.
I was hoping to build it again using the now available clang/clang++ and
libc++/libc++abi, but when I attempt this, various executable linking stages
fail claiming they can't find __cxa_guard_acquire, __cxa_guard_release, and
__cxa_pure_virtual
this seems to indicate something isn't being linked against libc++, or that
libc++ lacks those symbols/targets for some reason.
it is ENTIRELY possible that I did something incorrectly with my former build
or setup or that I am doing something incorrectly this time.
the command for cmake would be something like this correct?:
cmake /path/to/llvm/source/tree \
-DCMAKE_INSTALL_PREFIX=/UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1 \
-DCMAKE_C_COMPILER=/UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1/bin/clang \
-DCMAKE_CXX_COMPILER=/UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1/bin/clang++
\
-DLLVM_ENABLE_LIBCXX=1 \
-DLIBCXX_CXX_ABI=libcxxabi
if not, what am I missing?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs