[Pkg-scicomp-devel] Bug#629414: Bug#629414: libcv2.1: opencv requires cmov instruction
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Wed Jun 15 07:17:33 UTC 2011
tags 629414 patch squeeze
severity 629414 grave
thanks
Hi,
i386 package was built by i686.
https://buildd.debian.org/status/fetch.php?pkg=opencv&arch=i386&ver=2.1.0-4&stamp=1300317859
----
-- General configuration for opencv 2.1.0 =====================================
--
-- Built as dynamic libs?: ON
-- Compiler:
-- C++ flags (Release): -g -O2 -Wall -pthread -march=i686
-ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -ffast-math
-mfpmath=387 -DNDEBUG
-- C++ flags (Debug): -g -O2 -Wall -pthread -march=i686
-ffunction-sections -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release):
-- Linker flags (Debug):
----
I will fix this and upload to stable.
Best regards,
Nobuhiro
2011/6/14 Nobuhiro Iwamatsu <iwamatsu at nigauri.org>:
> severity 629414 important
> thanks
>
> Hi,
>
> Thank you for your report.
>
>> the version of libcv2.1 that comes with Debian stable should work on any
>> i386 hardware, but does not. On the Vortex86DX (i586-compatible), it breaks
>> due to the presence of (at least) a cmovg instruction (i686+).
>>
>> Program received signal SIGILL, Illegal instruction.
>> 0xb7ef8968 in cvInitImageHeader () from /usr/lib/libcxcore.so.2.1
>> (gdb) bt
>> #0 0xb7ef8968 in cvInitImageHeader () from /usr/lib/libcxcore.so.2.1
>> #1 0xb79f8e61 in CvCapture_FFMPEG::open(char const*) ()
>> from /usr/lib/libhighgui.so.2.1
>> #2 0xb79f8fa1 in cvCreateFileCapture_FFMPEG(char const*) ()
>> from /usr/lib/libhighgui.so.2.1
>> #3 0xb79e8fa2 in cvCreateFileCapture () from /usr/lib/libhighgui.so.2.1
>> ....
>>
>> (gdb) x/i 0xb7ef8968
>> 0xb7ef8968 <cvInitImageHeader+552>: cmovg 0x150(%esp),%eax
>> (gdb)
>
> OK, I will check this.
>
> Best regards,
> Nobuhiro
>
> --
> Nobuhiro Iwamatsu
> iwamatsu at {nigauri.org / debian.org}
> GPG ID: 40AD1FA6
>
>
>
> _______________________________________________
> Pkg-scicomp-devel mailing list
> Pkg-scicomp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-scicomp-devel
>
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencv_optimize_i486.patch
Type: text/x-patch
Size: 390 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20110615/a48dba13/attachment-0001.bin>
More information about the Pkg-scicomp-devel
mailing list