Bug 1309329 - Clang's ASAN feature is broken in Fedora
Clang's ASAN feature is broken in Fedora
Status: CLOSED DUPLICATE of bug 1263834
Product: Fedora
Classification: Fedora
Component: llvm (Show other bugs)
23
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Adam Jackson
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-17 08:36 EST by Sitsofe Wheeler
Modified: 2016-03-01 00:37 EST (History)
17 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 949489
Environment:
Last Closed: 2016-03-01 00:37:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sitsofe Wheeler 2016-02-17 08:36:04 EST
+++ 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 00:37:40 EST
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.