[Digikam-devel] [Bug 254203] Libpgf relevant : digiKam crashes while displaying thumbnails on Ultra-SPARC platform...

Jean-Fred jfc31 at free.fr
Fri Oct 22 22:52:22 BST 2010


https://bugs.kde.org/show_bug.cgi?id=254203





--- Comment #14 from Jean-Fred <jfc31 free fr>  2010-10-22 23:52:19 ---
Gilles, Raphael,

It took me quite some time to test the fixes... Sorry for that, I'm at least as
slow as my old computer ;)...

I did the tests with the 21-Oct-2010-#2PM svn image.

First of all everything compiles well.

But at run time things are not that nice as the libpgf issue is still there
(the code seems now to be a bit more talkative and I've some error message
before crash pointing out PGF code).
I digged a bit more in the files and came up with the following thing:

Something is incorrectly set in PGFplatform.h, on line 40 we should have 

#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) ||
defined(sparc) || defined(__sparc__)

and not:
#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) ||
defined(sparc) || defined(sparc)

-> The correct macro that gcc uses to define SPARC processors is __sparc__

(see http://predef.sourceforge.net/prearch.html  a good summarry of how the
various compilers indicates which processor they are targetting... a real mess
indeed...)

Thanks a lot for all this work, this great software and for beeing so reactive
fixing things!

Gilles,

I didn't had opportunity to test lensfun stuff. I'll do that later (I still
need to learn digiKam a bit more)...


Jean-Fred

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list