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

--- Comment #15 from Sergio Martins <smart...@kde.org> ---
I've tested clazy with llvm 5.0, 6.0 and 7.0 build from source and it's working
fine when using shared libraries, my llvm cmake line is:

cmake -DCMAKE_INSTALL_PREFIX=/data/prefix/clang-7.0 -DLLVM_INCLUDE_EXAMPLES=OFF
-DLLVM_TARGETS_TO_BUILD="X86" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
..

When building clazy be sure to not build it with clang-7.0, but with gcc, or
with clang < 7.0. It appears clang-7.0 is generating buggy code which crashes
the compiler

Also investigated the static-build, what's happening is that too many libs are
being linked, so some options are duplicated, which gives this error

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

Reply via email to