<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 --- - Unable to run &quot;check-all&quot; target when building LLVM 3.6.1" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23783&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=nM9sTofau-AhliitpZCb4XgE6fv4C4Gyt3NQsjPYH-8&s=zfEI1tiOO9COOTcV5cLUXm1NfI2aSwp7JHZf3mhZnys&e=">23783</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to run "check-all" target when building LLVM 3.6.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </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>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>stevenaura@live.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>Created <span class=""><a href="attachment.cgi?id=14447" name="attach_14447" title="Results of check-all">attachment 14447</a> <a href="attachment.cgi?id=14447&action=edit" title="Results of check-all">[details]</a></span>
Results of check-all

Dear LLVM developers,

I have successfully compiled the 3.6.1 version of
LLVM-Clang-LLDB-Compiler-RT-LibCxx-LibCxxABI-TestSuite bundle. However, when I
tried 'ninja check-all', the check failed right at the first target "[1/150]
Generating sanitizer_bitvector_test.cc.x86_64.o". I think the reason is that
LLVM is trying to use the system GCC header files, but I compiled LLVM with
another GCC toolchain (GCC 4.8.4) that I compiled and installed in a non-root
directory. Please let me know how to fix this issue. 

Here is the relevant information:

* CentOS 6.6
* x86_64 architecture (Intel(R) Xeon(R) CPU W3550  @ 3.07GHz)
* Tools used for installation:
  1) gcc/4.8.4
  2) ninja
  3) zlib/1.2.8
  4) python-miniconda
* Linux Kernel version
  2.6.32-504.16.2.el6.x86_64
* CMake build command
  cmake -G "Ninja"
-DCMAKE_C_COMPILER=/Scr/scr-test-steven/install/gcc/4.8.4/bin/gcc
-DCMAKE_CXX_COMPILER=/Scr/scr-test-steven/install/gcc/4.8.4/bin/c++
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/Scr/scr-test-steven/install/llvm/3.6.1
/Scr/scr-test-steven/Programs/LLVM/llvm-3.6.1.src -DLLDB_DISABLE_PYTHON=1
-DCMAKE_CXX_FLAGS:STRING="-I/Scr/scr-test-steven/install/gcc/4.8.4/include
-I/Scr/scr-test-steven/Programs/LLVM/llvm-3.6.1.src/tools/clang/include
-I/Scr/scr-test-steven/install/libedit/3.1/include
-I/Scr/scr-test-steven/install/miniconda/include/python2.7
-L/Scr/scr-test-steven/install/gcc/4.8.4/lib64
-L/Scr/scr-test-steven/install/libedit/3.1/lib
-L/Scr/scr-test-steven/install/miniconda/lib
-L/Scr/scr-test-steven/install/miniconda/lib/python2.7"
-DPYTHON_HOME=/Scr/scr-test-steven/install/miniconda
-DLLVM_LIB_SEARCH_PATH=/Scr/scr-test-steven/Programs/LLVM/build_llvm-3.6.1/lib
* 'ninja check' results (see attachment)

Thanks.

Yuhang Wang</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>