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 <iwama...@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-de...@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
--- a/CMakeLists.txt	2011-06-15 15:40:16.000000000 +0900
+++ b/CMakeLists.txt	2011-06-15 15:40:48.000000000 +0900
@@ -760,7 +760,7 @@
     if(X86)
         if(NOT X86_64)
             if(NOT APPLE)
-                set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -march=i686")
+                set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -march=i486")
             endif()
         endif()
     endif()

Reply via email to