Comment # 20 on bug 1221183 from Franz Sirl
The specific problem is the global object
clang::format::FormatTokenLexer::CSharpAttributeTargets from libclang-cpp has
global constructors/destructors. The object seemingly is merged by the shared
loader when 2 libclang-cpp with different versions are loaded. But the
constructors/destructors are NOT merged, meaning that 2 constructors are run
for the same object on library startup and 2 destructors are run on library
shutdown. That is just asking for trouble it seems.

It seems LLVM realized that and reverted to building with LLVM-soversion ==
libclang-soversion by default, but the SUSE llvm builds override that with
-DCLANG_FORCE_MATCHING_LIBCLANG_SOVERSION:BOOL=OFF. Should I file a bug against
the LLVM component?


You are receiving this mail because: