Description of problem: '/usr/lib64/llvm3.9/bin/llvm-config --cxxflags' gives the invalid flag -mcet (gcc 8.2.1) Version-Release number of selected component (if applicable): llvm3.9-devel-3.9.1-13.fc29.x86_64 gcc-c++-8.2.1-4.fc29.x86_64 How reproducible: always Steps to Reproduce: 1. touch /tmp/x.c 2. g++ $(/usr/lib64/llvm3.9/bin/llvm-config --cxxflags) -c /tmp/x.c Actual results: cc1plus: error: unrecognized command line option ‘-mcet’ Expected results: /tmp/x.o Additional info: Rebuilding with gcc-8.2.1 seems to fix the problem (current version built with 'gcc 8.0.1 20180222')
Why are you using the compatibility package (llvm3.9) instead of the main package llvm?
Because I for compatibility reasons needed to build an old version of julia, and this excerpt shows why I needed it. julia.spec: %global llvmversion 3.9 Name: julia Version: 0.6.3 Release: 2%{?dist} . . . BuildRequires: llvm%{llvmversion}-devel And besides I think it is reasonable to expect that provided packages are functional ;-)
llvm3.9-3.9.1-14.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-82f1e21f4d
An update associated with this bug has been pushed to stable.