[LLVMbugs] [Bug 23755] New: attempted to build llvm again using formerly built llvm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 3 23:02:00 PDT 2015


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: unassignedbugs at nondot.org
          Reporter: goochmi at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150604/4f657a59/attachment.html>


More information about the llvm-bugs mailing list