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: unassignedb...@nondot.org
          Reporter: jerem...@apple.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to