Description of problem: Reading https://clang.llvm.org/docs/Toolchain.html it seems libatomic is required when libgcc_s is used (which is the case for Fedora), hence it make sense to at least add an Recommends: libatomic it could be argued to be an Requires: too I think. Ditto for compiler-rt, to build with clang and flags: -fsanitize=undefined | -fsanitize=address compiler-rt is required, changing from Recommends to Required for compiler-rt seems sensible to me.
I think making libatomic a Recommends makes sense. I'm undecided about making compiler-rt a Requires. You don't need compiler-rt for normal use of the compiler, so it seems to to fit well as a Recommends. The main reason to use Recommends instead of Requires is that it helps keep the install footprint of llvm smaller for container images.
Ok, sounds good.
Some bikeshedding here: compiler-rt can be compiled to provide atomic support (through a static or shared library). Should we try to activate that?
See https://src.fedoraproject.org/rpms/clang/pull-request/178
FEDORA-2022-a682504360 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a682504360
FEDORA-2022-a682504360 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
Fixed by clang-14.0.5-7.fc38