https://bugs.kde.org/show_bug.cgi?id=427651

            Bug ID: 427651
           Summary: Static linking of LLVM libs breaks krita
           Product: SeExpr
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: aro...@archlinux.org
  Target Milestone: ---

SUMMARY
Krita's SeExpr links to the static LLVM libs (Interpreter, MCJIT, etc) instead
of the shared libLLVM.so in [1]. This in turn makes krita itself link
statically to the same libs again, which break krita at runtime due to double
linking:

CommandLine Error: Option 'interpreter-print-volatile' registered more than
once!
LLVM ERROR: inconsistency in registered CommandLine options 

Linking against the shared libLLVM library, like upstream seexpr does [2] fixes
the problem.

[1] https://invent.kde.org/graphics/seexpr/-/blob/master/CMakeLists.txt#L192
[2] https://github.com/wdas/SeExpr/blob/main/CMakeLists.txt#L150

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to