[FFmpeg-user] Illegal instruction while executing ffmpeg on powerpc

Michael Niedermayer michaelni at gmx.at
Wed Dec 18 13:15:48 CET 2013


On Thu, Dec 12, 2013 at 11:58:29AM +0000, Harninder Rai wrote:
> Hello All,
> 
> I am facing "Illegal instruction " error when I execute ffmpeg on powerpc
> I have configured ffmpeg with the following options
> 
> ./configure --arch=ppc --enable-cross-compile --cc=/data_nmg/toolchain/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc --target-os=linux --disable-altivec

this might be missing a --cross-prefix, something like
--cross-prefix=/usr/powerpc-linux-gnu/bin/
and
--cpu=e500v2


> 
> [root at P1024RDB shm]# ./ffmpeg
> Illegal instruction

if above doesnt help

gdb disassembly (and instruction pointer) would be quite helpful
here



> 
> [root at P1024RDB shm]# cat /proc/cpuinfo
> processor       : 0
> cpu             : e500v2
> clock           : 799.999992MHz
> revision        : 5.1 (pvr 8021 2051)
> bogomips        : 100.00
> 
> processor       : 1
> cpu             : e500v2
> clock           : 799.999992MHz
> revision        : 5.1 (pvr 8021 2051)
> bogomips        : 100.00
> 
> total bogomips  : 200.00
> timebase        : 50000000
> platform        : P1020RDB-PC
> model           : fsl,P1020RDB-PC
> Memory          : 1024 MB
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20131218/519c3fc3/attachment.asc>


More information about the ffmpeg-user mailing list