On Tue, 2 Jan 2007, Sebastian Kemper wrote: > I posted this initially to Gentoo forums, but after I managed to get a > gdb dump I thought I could post it here.
Looks like a Gentoo problem... I guess we can't accuse you of not providing enough information :) > I have a little box (Epia M6000 with a small 600MHz cpu, basically an > i686 without cmov) that I updated recently after a year of doing nothing > with it. I changed from CHOST=i586 to i686 (that's what the gentoo wiki > suggests for these cpus). The update went fine it seems - no issues > except the one with mjpegtools. ... > INFO: [mpeg2enc] NEW GOP INIT length 15 > Illegal instruction > And here's the backtrace: > gdb mpeg2enc > --DEBUG: [mpeg2enc] Frame I T=60907 A=562500 Xi=0.00 Xp=0.00 Xb=0.00 > > Program received signal SIGILL, Illegal instruction. > [Switching to Thread -1211328848 (LWP 6913)] > 0xb7e0a528 in fmax () from /lib/libm.so.6 > (gdb) bt > #0 0xb7e0a528 in fmax () from /lib/libm.so.6 > #1 0xb7f2a1ec in OnTheFlyRateCtl::InitNewPict () from > /usr/lib/libmpeg2encpp-1.8.so.0 ... Ok - the program is crashing in a libc routine, specifically fmax(). According to the assembly code you provided: > 0xb7e0a528 <fmax+8>: fucomi %st(0),%st Seems that 'fucomi' isn't supported on your cpy type. That would suggest that the fmax() in libc is using an illegal floating point instruction for the Epia cpu. mjpegtools does have a fmax() that it will compile and use if the system does not have one. In config.h perhaps changing #define HAVE_FMAX 1 to #undef HAVE_FMAX will work. On the other hand that could just result in a multiply defined symol where fmax() clashes between mjpegtools and libc. Good Luck! Cheers, Steven Schultz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users