Bug 957587

Summary: Clang missing address sanitizer
Product: [Fedora] Fedora Reporter: Andrew Hutchings <andrew>
Component: llvmAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ajax, bos, dmalcolm, michel, petersen, scottt.tw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-03 13:17:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Hutchings 2013-04-29 06:24:32 UTC
Description of problem:

When compiling with clang -faddress-sanitizer we get:

/usr/bin/ld: cannot find /usr/bin/../lib/clang/3.2/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [tests/unit/query] Error 1

The address sanitizer was added in clang 3.1

Version-Release number of selected component (if applicable):

clang-3.2-3.fc19.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Compile any C/C++ file in clang with -faddress-sanitizer on
2. ...
3. Profit

Comment 1 Andrew Hutchings 2013-05-03 13:17:22 UTC

*** This bug has been marked as a duplicate of bug 949489 ***