Description of problem: llvm-config{,-64} --cflags outputs among other options -mcet -fcf-protection, but when fed into clang, clang doesn't understand them clang-6.0: error: unknown argument: '-mcet' clang-6.0: error: unknown argument: '-fcf-protection' Version-Release number of selected component (if applicable): llvm-devel-6.0.0-3.fc29.x86_64 How reproducible: always Steps to Reproduce: 1.clang -c `llvm-config --cflags` -o hello.o hello.c Actual results: clang-6.0: error: unknown argument: '-mcet' clang-6.0: error: unknown argument: '-fcf-protection' Expected results: hello.o produced
This is fixed in rawhide with llvm-6.0.0-7.fc29.
Thanks! What about fc28?
It plan to fix it in fc28, I will include it in my next update for f28 once https://bodhi.fedoraproject.org/updates/FEDORA-2018-689de58112 has gone to stable.
pocl-1.1-2.fc28 lldb-6.0.0-3.fc28 clang-6.0.0-5.fc28 llvm-6.0.0-11.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-02c4091319
clang-6.0.0-5.fc28, lldb-6.0.0-3.fc28, llvm-6.0.0-11.fc28, mesa-18.0.0-2.fc28.1, pocl-1.1-2.fc28 has been pushed to the Fedora 28 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-2018-02c4091319
clang-6.0.0-5.fc28 lldb-6.0.0-3.fc28 llvm-6.0.0-11.fc28 mesa-18.0.0-3.fc28 pocl-1.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-02c4091319
clang-6.0.0-5.fc28, lldb-6.0.0-3.fc28, llvm-6.0.0-11.fc28, mesa-18.0.0-3.fc28, pocl-1.1-2.fc28 has been pushed to the Fedora 28 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-2018-02c4091319
clang-6.0.0-5.fc28, lldb-6.0.0-3.fc28, llvm-6.0.0-11.fc28, mesa-18.0.0-3.fc28, pocl-1.1-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.