Krita, LLVM, OpenGTL and Mesa
Boudewijn Rempt
boud at valdyas.org
Tue Sep 25 09:00:37 UTC 2012
On Tue, 25 Sep 2012, Cyrille Berger wrote:
> Hi,
>
> Bugs are popping around about crashes when starting Krita that points in
> OpenGTL:
>
> https://bugs.kde.org/show_bug.cgi?id=304903
> https://bugs.kde.org/show_bug.cgi?id=307173
>
> This basically happen for people using some of the open source 3D drivers.
> As some of you knows, this is caused by having llvm statically linked
> twice, once in OpenGTL and once in Mesa. There is one and only one fix,
> which is to have OpenGTL and Mesa dynamically link to the LLVM library. In
> other words, the burden of the fix is left to the distributions. Not much
> we can do about it, and it is already done by, at least, Fedora and Ubuntu.
Ubuntu also has problems:
https://bugs.kde.org/show_bug.cgi?id=307322
> 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?
Boudewijn
More information about the kimageshop
mailing list