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@FreeBSD.org
          Reporter: jbe...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to