Bug 1572978 - Clang6 package does not contain sanitiser libraries
Summary: Clang6 package does not contain sanitiser libraries
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: clang
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-29 12:03 UTC by Andreas Osowski
Modified: 2018-04-29 12:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-29 12:07:04 UTC
Type: Bug


Attachments (Terms of Use)

Description Andreas Osowski 2018-04-29 12:03:51 UTC
Description of problem:
Missing libraries for building with one of the sanitisers enabled.

Version-Release number of selected component (if applicable):
clang-6.0.0-5.fc29.x86_64
clang-tools-extra-6.0.0-5.fc29.x86_64
clang-devel-6.0.0-5.fc29.x86_64
clang-libs-6.0.0-5.fc29.x86_64


How reproducible:
Always

Steps to Reproduce:
1. echo "int main(int argc, char** argv) { return 0; }" > test.c
2. clang -fsanitize=memory test.c
3.

Actual results:
/usr/bin/ld: cannot find /usr/lib64/clang/6.0.0/lib/linux/libclang_rt.msan-x86_64.a: No such file or directory


Expected results:
Binary builds and runs without issues.

Additional info:
`clang5.0-libs-5.0.1-4.fc29.x86_64` contains the relevant libraries for 5.0.1.

Comment 1 Andreas Osowski 2018-04-29 12:07:04 UTC
Bad bug report, looks like `compiler-rt` wasn't upgraded automatically. Apologies for the noise.


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