Description of problem: The static libraries are installed into /usr/lib64/clang/ver/lib, however clang assumes it in /usr/lib64/clang/ver/lib/linux. How reproducible: Always Steps to Reproduce: Following is an example using coverage and LTO flag with CMake. (Didn't tried other combination) Actual results: CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/bin/clang" is not able to compile a simple test program. It fails with the following output: Run Build Command:"/usr/bin/ninja-build" "cmTC_301f1" [1/2] Building C object CMakeFiles/cmTC_301f1.dir/testCCompiler.c.o [2/2] Linking C executable cmTC_301f1 FAILED: : && /usr/bin/clang -fprofile-instr-generate -fcoverage-mapping -flto CMakeFiles/cmTC_301f1.dir/testCCompiler.c.o -o cmTC_301f1 && : /usr/bin/ld: error: cannot open /usr/bin/../lib64/clang/3.8.0/lib/linux/libclang_rt.profile-x86_64.a: No such file or directory Expected results: The build should run properly. Additional info:
Here's a ping. I have found some redundant lines in the spec file, removing them should solve everything.
compiler-rt-3.8.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-93368e80dc
compiler-rt-3.8.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-93368e80dc
compiler-rt-3.8.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.