[Bug 1155416] llvm9 package no longer provides libclangIndex.so, libclangFormat.so, etc.

http://bugzilla.opensuse.org/show_bug.cgi?id=1155416 http://bugzilla.opensuse.org/show_bug.cgi?id=1155416#c13 --- Comment #13 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- (In reply to Fabian Vogt from comment #12)
(In reply to Aaron Puchert from comment #11)
Do they offer both the component libraries and libclang-cpp.so? Because if I remember correctly, it's built automatically, or at least I didn't change any flags for it to appear.
Both.
Hmm, that's a bit dangerous. If someone links against both a component library and libclang-cpp.so (directly or indirectly through other libraries) that might cause problems because there are global variables that will then exist twice. Well, actually I think you'll just get an error that the global has been registered already and your program won't start. These globals are mostly flags, see for example https://github.com/llvm/llvm-project/blob/llvmorg-9.0.0/clang/lib/CodeGen/Co.... So if you link with libclangCodegen and libclang-cpp, that won't start. I have to admit I patched Clang a bit to make sure everything links with libclang-cpp.so, and I'm trying to upstream that. (https://reviews.llvm.org/D67321) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com