(In reply to Michal Srb from comment #1) > The LLVM build mode was changed from the (not recommended and buggy) > multiple-library mode into a single-library mode. > > See https://bugzilla.opensuse.org/show_bug.cgi?id=1049703 for more details. > There are also links to page where LLVM upstream developers tell that the > old mode is not recommended and a list of bugs that it caused us. > > In the current build mode all LLVM components end up in a single shared > library called libLLVM.so. All clang components are only build as static > libraries. (Sadly that is the only build mode supported by upstream for > clang.) > > As you already discovered, you need to add the clang4-devel-static to get > the libclang* static libraries. > > Bcc is currently using the `llvm_map_components_to_libnames` cmake function > to get the list of LLVM libraries it should link to. I would expect that > function to return only "LLVM", but instead it returns names of the > individual libraries that do not exist. I have run into this problem before > and I think that either the `llvm_map_components_to_libnames` function is > broken, or it is not meant to be used by external projects. I have asked on > llvm-dev mailing list (on Oct 23) and so far got not answer. It looks like > time to create upstream bug. Is it possible to work around the issue? so that I can at least build bcc while waiting the upstream fix.