[Bug 215975] ThreadSanitizer lacks runtime in base

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 11 16:33:12 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215975

            Bug ID: 215975
           Summary: ThreadSanitizer lacks runtime in base
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-toolchain at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: mfc-stable11?

$ pkg install -qy llvm39
$ echo 'int main() {}' >a.c

$ clang39 -fsanitize=thread a.c
$ cc -fsanitize=thread a.c
/usr/bin/ld: /usr/bin/../lib/clang/3.9.0/lib/freebsd/libclang_rt.tsan-x86_64.a:
No such file: No such file or directory
cc: error: linker command failed with exit code 1 (use -v to see invocation)

$ pkg info -xl llvm39 | fgrep tsan
        /usr/local/llvm39/include/sanitizer/tsan_interface_atomic.h
        /usr/local/llvm39/lib/clang/3.9.1/lib/freebsd/libclang_rt.tsan-x86_64.a
       
/usr/local/llvm39/lib/clang/3.9.1/lib/freebsd/libclang_rt.tsan-x86_64.a.syms
       
/usr/local/llvm39/lib/clang/3.9.1/lib/freebsd/libclang_rt.tsan_cxx-x86_64.a
       
/usr/local/llvm39/lib/clang/3.9.1/lib/freebsd/libclang_rt.tsan_cxx-x86_64.a.syms

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list