SIGILL, illegal instruction cvtps2pd
Hi, I'm new to OpenCV and I'm giving it a try.
I had compiled OpenCV 2.4.7 source in an old AMD Athlon 2.2 Ghz machine with Ubuntu.
The examples don't work, I receive SIGILL, illegal instruction for instruction cvtps2pd .
Is this an issue with cmake or anything related in the building process?
I've followed the instructions from http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html
wich lead to:
cd ~/opencv mkdir release cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. make sudo make install
Here is the stack from GDB and some info on the machine.
====================================================
This GDB was configured as "i686-linux-gnu".
(gdb) r
Starting program: /home/usuario/opencv-2.4.7/release/bin/c-example-contours
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0xb7bbe891 in cv::initInterTab2D(int, bool) ()
from /home/usuario/opencv-2.4.7/release/lib/libopencv_imgproc.so.2.4
(gdb) bt
#0 0xb7bbe891 in cv::initInterTab2D(int, bool) ()
from /home/usuario/opencv-2.4.7/release/lib/libopencv_imgproc.so.2.4
#1 0xb7b10b05 in _GLOBAL__sub_I_imgwarp.cpp ()
from /home/usuario/opencv-2.4.7/release/lib/libopencv_imgproc.so.2.4
#2 0xb7fed206 in call_init (env=0xbffff2dc, argv=0xbffff2d4, argc=1,
l=<optimized out>) at dl-init.c:84
#3 call_init (l=<optimized out>, argc=1, argv=0xbffff2d4, env=0xbffff2dc)
at dl-init.c:34
#4 0xb7fed2ec in _dl_init (main_map=0xb7fff938, argc=1, argv=0xbffff2d4,
env=0xbffff2dc) at dl-init.c:133
#5 0xb7fdf1cf in _dl_start_user () from /lib/ld-linux.so.2
(gdb) x/i 0xb7bbe891
=> 0xb7bbe891 <_ZN2cvL14initInterTab2DEib+1041>: cvtps2pd %xmm0,%xmm7
====================================================
cat /proc/version
Linux version 3.11.0-14-generic (buildd@akateko) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #21-Ubuntu SMP Tue Nov 12 17:07:40 UTC 2013
===================================================
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Sempron(TM) 2600+
stepping : 1
cpu MHz : 2200.131
cache size : 256 KB
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 4400.26
clflush size : 32
cache_alignment : 32
address sizes : 34 bits physical, 32 bits virtual
power management: ts
===============================================