<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Hi René,
</div>
<div class="default-style">
</div>
<div class="default-style">
thanks for your feedback.
</div>
<div class="default-style">
The used version is the "stock" installation that you get from kubuntu 22.04 when you do a
</div>
<div class="default-style">
sudo apt-get install kdevelop
</div>
<div class="default-style">
</div>
<div class="default-style">
Maybe there are options to configure to prevent the use of the clang libraries? Do I need to compile both kdevelop and the clang libraries?
</div>
<div class="default-style">
Since my projects use GCC, I don't think that someone else is using the clang parts...
</div>
<div class="default-style">
</div>
<div class="default-style">
If you could give me a starting point how to set up things best, I'd be happy to try it out.
</div>
<div class="default-style">
</div>
<div class="default-style">
Best regards,
</div>
<div class="default-style">
</div>
<div class="default-style">
Erik
</div>
<div class="default-style">
</div>
<div class="default-style">
</div>
<blockquote type="cite">
<div>
On 02/14/2023 2:24 PM CET René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>> wrote:
</div>
<div>
</div>
<div>
</div>
<div>
On Tuesday February 14 2023 08:44:09 Erik Rull wrote:
</div>
<div>
</div>
<div>
>[KCrash Handler]
</div>
<div>
>#4 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:317
</div>
<div>
>#5 0x00007fe72ad52622 in llvm::APInt::initSlowCase(llvm::APInt const&) () at /lib/x86_64-linux-gnu/libLLVM-13.so.1
</div>
<div>
</div>
<div>
Looks like it crashes in libLLVM. Where do you get KDevelop from and does that provider give you a choice what LLVM/Clang version to depend on?
</div>
<div>
</div>
<div>
If not, your best option would be to build your own copy of KDevelop, against an older & more stabled LLVM/Clang (which is *probably* going to be faster too, BTW). If you use the Kubuntu package for KDevelop, you can just use apt-get to retrieve the source form of that package, tweak its debian/{control,rules} files to depend on an older LLVM version and use dpkg-buildpackage to create local .deb files of which you'd have to install (with dpkg) only the one that contains the *kdevclang* binaries.
</div>
<div>
</div>
<div>
FWIW, this is one of the reasons why years ago already I argued (in vain) for a way to build just the LLVM-based parser plugin (and its dependencies) rather than having to build all of KDevelop.
</div>
<div>
</div>
<div>
R.
</div>
</blockquote>
</body>
</html>