Summary: | Crash when building with 'ENABLE_CLAZY' | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Christophe Marin <christophe> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | a.samirh78, aaronpuchert, smartins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
See Also: | https://bugzilla.opensuse.org/show_bug.cgi?id=1181326 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
generated files for debug
output of run_tests.py cpp |
Description
Christophe Marin
2021-01-25 08:25:33 UTC
Created attachment 135152 [details]
generated files for debug
which distro ? Ahmad Samir, which distro too ? Opensuse tumbleweed. Can't reproduce on Archlinux. What's the output of: $ cd clazy/tests $ ./run_tests.py --verbose (git clone git@invent.kde.org:sdk/clazy.git if needed) Created attachment 135186 [details]
output of run_tests.py
Created attachment 135187 [details]
cpp
Can you build clazy itself and see if you can repro cmake -DCMAKE_BUILD_TYPE=Debug . cmake --build . the ClazyPlugin.so path to LD_LIBRARY_PATH and rerun the tests (remove the system package if needed) I built clazy and all the tests passed; then I rebuilt and reinstalled the rpm package, and now it works.... The rpm changelog: * Sat Jan 09 2021 Aaron Puchert <aaronpuchert@alice-dsl.net> - Update to version 11.0.1. * This release contains bug-fixes for the LLVM 11.0.0 release. This release is API and ABI compatible with 11.0.0. * Mon Oct 19 2020 Aaron Puchert <aaronpuchert@alice-dsl.net> - Update to version 11.0.0. * For details, see the release notes: - https://releases.llvm.org/11.0.0/docs/ReleaseNotes.html [...] apparently something broke between 11.0.0 and .1. Looks like the clazy package wasn't rebuilt after the llvm 11.0.1 update (which isn't supposed to contain ABI changes). I've now added stricter checks in the package. Thanks for the speedy solution, up and down stream :) FTR, the openSUSE llvm maintainer found a commit that changed ABI in the 11.0.1 release (https://github.com/llvm/llvm-project/commit/adf84530) Quoting him: « Culprit is a commit that changed clang/include/clang/Basic/Attr.td, which added the line INHERITABLE_ATTR(Builtin) somewhere to the middle of /usr/include/clang/Basic/AttrList.inc, which is included in /usr/include/clang/Basic/AttrKinds.h into an enumeration. » |