Krita, LLVM, OpenGTL and Mesa

Cyrille Berger cberger at cberger.net
Tue Sep 25 09:11:53 UTC 2012


On Tue, 25 Sep 2012 11:00:37 +0200 (CEST), Boudewijn Rempt
> Ubuntu also has problems:
> 
> https://bugs.kde.org/show_bug.cgi?id=307322

*facepalm* (and I mean it, in the Jean-Luc Picard way
http://picardfacepalm.com/).

In their newest version, they mix up several version of the llvm library,
opengtl is compiled with 3.0 and mesa with 3.1. That is never going to
work...

>> Notable distribution with the problem is OpenSuSE.
>>
>> However, that leave us to the problem of crash at startup. We have
>> several
>> solutions:
>>
>> 1) ignore it and let the user put pressure on their respective
>> distributions
>> 2) do like for opengl, detect the start crash and disable the GTL
plugins
>> 3) detect (somehow) that the user is using mesa with a statically
linked
>> llvm and then disable the GTL plugins
>>
>> The "cleanest" for the user would be 3), but I think it would be tricky
>> to
>> implement, so I guess we should go with 2) road.
>>
> 
> Yes, I agree. Would it be possible to detect that krita has crashed in 
> opengtl specifically?

Well, maybe. I guess, we could check the output of "kBacktrace" and see if
it contains call in opengtl or llvm.

-- 
Cyrille Berger


More information about the kimageshop mailing list