Bug 957587 - Clang missing address sanitizer
Summary: Clang missing address sanitizer
Keywords:
Status: CLOSED DUPLICATE of bug 949489
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-29 06:24 UTC by Andrew Hutchings
Modified: 2013-05-03 13:17 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-03 13:17:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.