Bug 1309329 - Clang's ASAN feature is broken in Fedora
Summary: Clang's ASAN feature is broken in Fedora
Keywords:
Status: CLOSED DUPLICATE of bug 1263834
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-17 13:36 UTC by Sitsofe Wheeler
Modified: 2016-03-01 05:37 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 949489
Environment:
Last Closed: 2016-03-01 05:37:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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