[LLVMbugs] [Bug 14341] New: clang -fsanitize=undefined fails to link files correctly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 14 14:02:03 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14341
Bug #: 14341
Summary: clang -fsanitize=undefined fails to link files
correctly
Product: compiler-rt
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
AssignedTo: unassignedbugs at nondot.org
ReportedBy: lostphifunction at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I've built trunk LLVM (r167974), clang, and compiler-rt on Ubuntu 12.10 i386
using the configure script and make.
When I try to compile files with "clang -fsanitize=address" everything works as
expected, but when I do "clang -fsanitize=undefined" I get a linking error
saying
/usr/bin/ld: cannot find
/usr/local/bin/../lib/clang/3.2/lib/linux/libclang_rt.ubsan-i386.a: No such
file or directory
In that directory exists libclang_rt.asan-i386.a, libclang_rt.full-i386.a, and
libclang_rt.profile-i386.a, but there is no ubsan library.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list