Bug 1278914
Summary: | clang -fsanitize=undefined fails due to missing libclang_rt.ubsan_standalone-x86_64.a file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Hajnoczi <stefanha> |
Component: | llvm | Assignee: | Adam Jackson <ajax> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | ajax, bos, dmalcolm, jsnow, jv+fedora, laurent.rineau__fedora, murrayc, petersen, scottt.tw |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-01-27 13:29:08 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
Stefan Hajnoczi
2015-11-06 18:12:46 UTC
This is a regression, it worked fine in F22. Same with the other sanitizers. $ clang -o /dev/null -fsanitize=memory main.c /usr/bin/ld: cannot find /usr/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.msan-x86_64.a: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) zsh: exit 1 clang -o /dev/null -fsanitize=memory main.c zsh: exit 1 $ clang -o /dev/null -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) zsh: exit 1 clang -o /dev/null -fsanitize=address main.c zsh: exit 1 $ clang -o /dev/null -fsanitize=thread main.c /usr/bin/ld: cannot find /usr/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.tsan-x86_64.a: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) zsh: exit 1 clang -o /dev/null -fsanitize=thread main.c zsh: exit 1 Might be related to upstream issues pointed out by that ArchLinux bug report: https://bugs.archlinux.org/task/46392 *** This bug has been marked as a duplicate of bug 1263834 *** |