<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - attempted to build llvm again using formerly built llvm" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23755&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=KwzHWJgOIjbKl6b1tT4M6niUzlBwNZtIUYKYWyoIhvw&s=JySd1NrbfHS9T3waiqcMZe1vSSYmBLhnofGomQQ5vYg&e=">23755</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>attempted to build llvm again using formerly built llvm
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>goochmi@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>