[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-30 Thread Aaron Puchert
https://bugs.kde.org/show_bug.cgi?id=432078

Aaron Puchert  changed:

   What|Removed |Added

 CC||aaronpuch...@alice-dsl.net
   See Also||https://bugzilla.opensuse.o
   ||rg/show_bug.cgi?id=1181326

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-26 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #11 from Christophe Giboudeaux  ---
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. »

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-26 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #10 from Ahmad Samir  ---
Thanks for the speedy solution, up and down stream :)

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-26 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=432078

Christophe Giboudeaux  changed:

   What|Removed |Added

 Resolution|--- |DOWNSTREAM
 Status|REPORTED|RESOLVED

--- Comment #9 from Christophe Giboudeaux  ---
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.

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-26 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #8 from Ahmad Samir  ---
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 
  - 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 
  - 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.

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-26 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #7 from Sergio Martins  ---
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)

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #6 from Ahmad Samir  ---
Created attachment 135187
  --> https://bugs.kde.org/attachment.cgi?id=135187=edit
cpp

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #5 from Ahmad Samir  ---
Created attachment 135186
  --> https://bugs.kde.org/attachment.cgi?id=135186=edit
output of run_tests.py

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #4 from Sergio Martins  ---
Can't reproduce on Archlinux.

What's the output of:
$ cd clazy/tests 
$ ./run_tests.py --verbose

(git clone g...@invent.kde.org:sdk/clazy.git if needed)

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #3 from Ahmad Samir  ---
Opensuse tumbleweed.

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #2 from Sergio Martins  ---
which distro ?

Ahmad Samir, which distro too ?

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=432078

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

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

[clazy] [Bug 432078] Crash when building with 'ENABLE_CLAZY'

2021-01-25 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=432078

--- Comment #1 from Christophe Giboudeaux  ---
Created attachment 135152
  --> https://bugs.kde.org/attachment.cgi?id=135152=edit
generated files for debug

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