Bug 1309329

Summary: Clang's ASAN feature is broken in Fedora
Product: [Fedora] Fedora Reporter: Sitsofe Wheeler <sitsofe>
Component: llvmAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: ajax, andrew, bos, bressers, davejohansen, david.m.highley, dkholia, dmalcolm, extras-qa, fweimer, hcorg, jv+fedora, michel, nathan0n5ire, petersen, scottt.tw, ycollette.nospam
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 949489 Environment:
Last Closed: 2016-03-01 05:37:40 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 Sitsofe Wheeler 2016-02-17 13:36:04 UTC
+++ This bug was initially created as a clone of Bug #949489 +++

Description of problem:
Clang's addresssanitizer feature is broken in Fedora 23.

✗ cat main.c 
int main() {}

✗ clang -fsanitize=address main.c
/usr/bin/ld: cannot find /usr/bin/../lib/clang/3.7.0/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)

Version-Release number of selected component (if applicable):
✗ rpm -q clang
clang-3.7.0-4.fc23.x86_64
✗ rpm -q llvm
llvm-3.7.0-4.fc23.x86_64

Additional info:
Originally seen over on bug #949489 against Fedora 20. Running same command line with gcc instead of clang works.

Comment 1 Sitsofe Wheeler 2016-03-01 05:37:40 UTC
This looks like a duplicate of bug #1263834 - marking as such.

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