[llvm-bugs] [Bug 27715] New: Don't build tsan for OSX 10.7 and earlier

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 11 10:10:52 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27715

            Bug ID: 27715
           Summary: Don't build tsan for OSX 10.7 and earlier
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

-- 
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/20160511/5c3322b1/attachment.html>


More information about the llvm-bugs mailing list