[LLVMbugs] [Bug 19750] New: libcxx_tsan configure fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 14 16:13:46 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19750

            Bug ID: 19750
           Summary: libcxx_tsan configure fails
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: oroppas at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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.

-- 
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/20140514/21254fa5/attachment.html>


More information about the llvm-bugs mailing list