[LLVMbugs] [Bug 22666] New: compiler-rt doesn't work on Linux/x86

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 23 12:09:48 PST 2015


            Bug ID: 22666
           Summary: compiler-rt doesn't work on Linux/x86
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

On Linux/x86, I got

[hjl at gnu-29 bin]$ ./clang /tmp/x.c -fsanitize=address
/usr/local/bin/ld: error: cannot open
No such file or directory
/tmp/x-ba3def.o:/tmp/x.c:function asan.module_ctor: error: undefined reference
to '__asan_init_v5'
clang-3.7: error: linker command failed with exit code 1 (use -v to see
[hjl at gnu-29 bin]$ ls ../lib/clang/3.7.0/lib/linux
libclang_rt.asan_cxx-i386.a      libclang_rt.profile-i386.a
libclang_rt.asan-i386.a          libclang_rt.san-i386.a
libclang_rt.asan-i386.so         libclang_rt.ubsan_cxx-i386.a
libclang_rt.asan-preinit-i386.a  libclang_rt.ubsan-i386.a
[hjl at gnu-29 bin]$

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/20150223/f2a0672d/attachment.html>

More information about the llvm-bugs mailing list