<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 --- - Don't build tsan for OSX 10.7 and earlier"
   href="https://llvm.org/bugs/show_bug.cgi?id=27715">27715</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Don't build tsan for OSX 10.7 and earlier
          </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>All
          </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>jeremyhu@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The build system attempts to build tsan on older versions of OSX, but this of
course fails.  We should automatically detect that tsan should not be built
based on the deployment target.

:info:build Undefined symbols for architecture x86_64:
:info:build   "_os_lock_lock", referenced from:
:info:build       _wrap_os_lock_lock in tsan_interceptors_mac.cc.o
:info:build       __ZN6__tsanL25substitution_os_lock_lockE in
tsan_interceptors_mac.cc.o
:info:build      (maybe you meant: _wrap_os_lock_lock)
:info:build   "_os_lock_trylock", referenced from:
:info:build       _wrap_os_lock_trylock in tsan_interceptors_mac.cc.o
:info:build       __ZN6__tsanL28substitution_os_lock_trylockE in
tsan_interceptors_mac.cc.o
:info:build      (maybe you meant: _wrap_os_lock_trylock)
:info:build   "_os_lock_unlock", referenced from:
:info:build       _wrap_os_lock_unlock in tsan_interceptors_mac.cc.o
:info:build       __ZN6__tsanL27substitution_os_lock_unlockE in
tsan_interceptors_mac.cc.o
:info:build      (maybe you meant: _wrap_os_lock_unlock)
:info:build   "_pthread_introspection_hook_install", referenced from:
:info:build       __tsan::InitializePlatform() in tsan_platform_mac.cc.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see
invocation)
:info:build make[2]: ***
[lib/clang/3.8.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib] Error 1</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>