Hi,

I seem to have some problems with the application "vcr" that uses
libaviplay for encoding to DivX. The problem is an "Illagal instruction"
that I get every tim the app is run. The system what I use (an VIA Epia
800MHz) does not seem to have the needed SSE/SSE2 extensions, according to
/proc/cpuinfo:

vendor_id       : CentaurHauls
cpu family      : 6
model           : 7
model name      : VIA Ezra
stepping        : 8
cpu MHz         : 800.047
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips        : 1595.80

The kernel is 2.4.19 and it is compiled as "CyrixIII/VIA-C3/VIA-C5".


The system is a nice little Mini-ITX form factor motherboard, and just
suitable for a PVR system.

I have avifile 0.7, which packs itself up in the dir "avifile0.7-0.7.16".
I built a Debian package using fakeroot, and used these switches to
configure: 

./configure --disable-x86opt --enable-quiet --enable-lame-bin
            --disable-dependency-tracking --prefix /usr

The "--disable-x86opt" is supposed to disable SSE/SSE2, but that does not
seem to be the case. I assume that it is ignored and that cpudetect.c
fails somehow

Running "vcr" gives me this SIGILL:

(gdb) where
#0  0x4009942f in avm::vector<unsigned int>::copy () from 
/usr/lib/libaviplay-0.7.so.0
#1  0x4013a8c9 in avm::CodecInfo::CodecInfo () from
/usr/lib/libaviplay-0.7.so.0
#2  0x4007c3a0 in _init () from /usr/lib/libaviplay-0.7.so.0
#3  0x4007d7af in avm::plugin_open () from /usr/lib/libaviplay-0.7.so.0
#4  0x4007df5c in avm::CreateDecoderVideo () from
/usr/lib/libaviplay-0.7.so.0
#5  0x0804a986 in main ()
#6  0x403120bf in __libc_start_main () from /lib/libc.so.6

(gdb) info threads
* 1 Thread 1024 (LWP 18609)  0x4013a8c9 in avm::CodecInfo::CodecInfo ()
from /usr/lib/libaviplay-0.7.so.0


This is all I seem to get out of it. Is there anything I could do to make
sure SSE/SSE2 is disabled? Is there any more info I could provide?

Kind regards,
    Jan Ekholm

-- 

 He says gods like to see an atheist around. Gives them something to aim at.
                                            -- Terry Pratchett, Small Gods


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to