[Digikam-devel] [Bug 274940] digikam freezes when using "sharpen: refocus" (cpu 100%)

Peter Albrecht px79 at crazymonkeys.de
Sat Jun 18 21:02:33 BST 2011


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





--- Comment #16 from Peter Albrecht <px79 crazymonkeys de>  2011-06-18 22:02:31 ---
(In reply to comment #13)
> Look into OpenCV 3rdparty. CLapack is here and source code is compiled with
> this options :
> 
> https://opencvlibrary.svn.sourceforge.net/svnroot/opencvlibrary/trunk/opencv/3rdparty/lapack/CMakeLists.txt
> 
> ... look at lines:
> 
>     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-parentheses")
>     set_source_files_properties(dlamch.c slamch.c PROPERTIES COMPILE_FLAGS
> "-ffloat-store -O0")

As a test, I set "-O2" in C*FLAGS to "-O0" in /etc/make.conf and recompiled
"sci-libs/clapack-3.2.1-r4".
=> the infinite loop seems to be eleminated and digikam's Refocus plugin (using
clapack) works flawless.

So I think the following line might fix this bug:
set_source_files_properties(dlamch.c slamch.c PROPERTIES COMPILE_FLAGS "-O0")

-- 
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