<html>
    <head>
      <base href="http://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 --- - libcxx_tsan configure fails"
   href="http://llvm.org/bugs/show_bug.cgi?id=19750">19750</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libcxx_tsan configure fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>oroppas@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>As of 208817,

[1855/2144] Performing configure step for 'libcxx_tsan'
FAILED: cd
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan/src/libcxx_tsan-build
&& /usr/bin/cmake -P
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan/src/libcxx_tsan-stamp/libcxx_tsan-configure.cmake
&& /usr/bin/cmake -E touch
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan/src/libcxx_tsan-stamp/libcxx_tsan-configure
CMake Error at
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan/src/libcxx_tsan-stamp/libcxx_tsan-configure.cmake:16
(message):
  Command failed: 1

   '/usr/bin/cmake'
'-DCMAKE_C_COMPILER=/home/ryuta/tools/llvm/src/build/./bin/clang'
'-DCMAKE_CXX_COMPILER=/home/ryuta/tools/llvm/src/build/./bin/clang'
'-DCMAKE_C_FLAGS= -fsanitize=thread' '-DCMAKE_CXX_FLAGS= -fsanitize=thread'
'-DCMAKE_BUILD_TYPE=Release'
'-DCMAKE_INSTALL_PREFIX:PATH=/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan'
'-GNinja' '/home/ryuta/tools/llvm/src/llvm/projects/libcxx'

  See also

   
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan/src/libcxx_tsan-stamp/libcxx_tsan-configure-*.log



[1855/2144] Performing configure step for 'libcxx_msan'
-- libcxx_msan configure command succeeded.  See also
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/msan/tests/../libcxx_msan/src/libcxx_msan-stamp/libcxx_msan-configure-*.log

ninja: build stopped: subcommand failed.

--------------------------------------------------------------

And here's libcxx_tsan-configure-err.log:

CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54
(message):
  The C++ compiler "/home/ryuta/tools/llvm/src/build/./bin/clang" is not able
  to compile a simple test program.

  It fails with the following output:

   Change Dir:
/home/ryuta/tools/llvm/src/build/projects/compiler-rt/lib/tsan/libcxx_tsan/src/libcxx_tsan-build/CMakeFiles/CMakeTmp



  Run Build Command:/usr/bin/ninja cmTryCompileExec1135728073

  [1/2] Building CXX object
  CMakeFiles/cmTryCompileExec1135728073.dir/testCXXCompiler.cxx.o

  [2/2] Linking CXX executable cmTryCompileExec1135728073

  FAILED: : && /home/ryuta/tools/llvm/src/build/./bin/clang -fsanitize=thread
  -Wl,-O1,--sort-common,--as-needed,-z,relro
  CMakeFiles/cmTryCompileExec1135728073.dir/testCXXCompiler.cxx.o -o
  cmTryCompileExec1135728073 -rdynamic && :


 
/home/ryuta/tools/llvm/src/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:124:
  error: undefined reference to '__sync_lock_test_and_set_16'


 
/home/ryuta/tools/llvm/src/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc:124:
  error: undefined reference to '__sync_lock_test_and_set_16'

and undefined reference errors continue for '__sync_fetch_and_add_16', etc.</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>