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

anshul anshul.ffmpeg at gmail.com
Tue Dec 17 07:56:33 CET 2013


On 12/17/2013 11:19 AM, Harninder Rai wrote:
> Hello Anshul,
>
>
> Thanks for the reply
> Here's the configure log
>
> ./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
> install prefix            /usr/local
> source path               .
> C compiler                /data_nmg/toolchain/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc
> C library                 glibc
> host C compiler           gcc
> host C library            glibc
> ARCH                      ppc (generic)
> big-endian                yes
> runtime cpu detection     yes
> AltiVec enabled           no
> PPC 4xx optimizations     no
> dcbzl available           yes
> debug symbols             yes
> strip symbols             yes
> optimize for size         no
> optimizations             yes
> static                    yes
> shared                    no
> postprocessing support    no
> new filter support        yes
> network support           yes
> threading support         pthreads
> safe bitstream reader     yes
> SDL support               no
> opencl enabled            no
> libzvbi enabled           no
> texi2html enabled         yes
> perl enabled              yes
> pod2man enabled           yes
> makeinfo enabled          yes
>
> External libraries:
> iconv
>
> Enabled decoders:
> aac                     bmp                     imc
> aac_latm                bmv_audio               indeo2
> aasc                    bmv_video               indeo3
> ac3                     brender_pix             indeo4
> adpcm_4xm               c93                     indeo5
> adpcm_adx               cavs                    interplay_dpcm
> adpcm_afc               cdgraphics              interplay_video
> adpcm_ct                cdxl                    jacosub
> adpcm_dtk               cinepak                 jpeg2000
> adpcm_ea                cljr                    jpegls
> adpcm_ea_maxis_xa       cllc                    jv
> adpcm_ea_r1             comfortnoise            kgv1
> adpcm_ea_r2             cook                    kmvc
> adpcm_ea_r3             cpia                    lagarith
> adpcm_ea_xas            cscd                    loco
> adpcm_g722              cyuv                    mace3
> adpcm_g726              dca                     mace6
> adpcm_g726le            dfa                     mdec
> adpcm_ima_amv           dirac                   metasound
> adpcm_ima_apc           dnxhd                   microdvd
> adpcm_ima_dk3           dpx                     mimic
> adpcm_ima_dk4           dsicinaudio             mjpeg
> adpcm_ima_ea_eacs       dsicinvideo             mjpegb
> adpcm_ima_ea_sead       dvbsub                  mlp
> adpcm_ima_iss           dvdsub                  mmvideo
> adpcm_ima_oki           dvvideo                 motionpixels
> adpcm_ima_qt            dxtory                  movtext
> adpcm_ima_rad           eac3                    mp1
> adpcm_ima_smjpeg        eacmv                   mp1float
> adpcm_ima_wav           eamad                   mp2
> adpcm_ima_ws            eatgq                   mp2float
> adpcm_ms                eatgv                   mp3
> adpcm_sbpro_2           eatqi                   mp3adu
> adpcm_sbpro_3           eightbps                mp3adufloat
> adpcm_sbpro_4           eightsvx_exp            mp3float
> adpcm_swf               eightsvx_fib            mp3on4
> adpcm_thp               escape124               mp3on4float
> adpcm_xa                escape130               mpc7
> adpcm_yamaha            evrc                    mpc8
> aic                     ffv1                    mpeg1video
> alac                    ffvhuff                 mpeg2video
> als                     ffwavesynth             mpeg4
> amrnb                   flac                    mpegvideo
> amrwb                   flic                    mpl2
> amv                     flv                     msa1
> anm                     fourxm                  msmpeg4v1
> ansi                    fraps                   msmpeg4v2
> ape                     frwu                    msmpeg4v3
> ass                     g723_1                  msrle
> asv1                    g729                    mss1
> asv2                    gif                     mss2
> atrac1                  gsm                     msvideo1
> atrac3                  gsm_ms                  mszh
> aura                    h261                    mts2
> aura2                   h263                    mvc1
> avrn                    h263i                   mvc2
> avrp                    h263p                   mxpeg
> avs                     h264                    nellymoser
> avui                    hevc                    nuv
> ayuv                    hnm4_video              paf_audio
> bethsoftvid             huffyuv                 paf_video
> bfi                     iac                     pam
> bink                    idcin                   pbm
> binkaudio_dct           idf                     pcm_alaw
> binkaudio_rdft          iff_byterun1            pcm_bluray
> bintext                 iff_ilbm                pcm_dvd
> pcm_f32be               roq                     v210x
> pcm_f32le               roq_dpcm                v308
> pcm_f64be               rpza                    v408
> pcm_f64le               rv10                    v410
> pcm_lxf                 rv20                    vb
> pcm_mulaw               rv30                    vble
> pcm_s16be               rv40                    vc1
> pcm_s16be_planar        s302m                   vc1image
> pcm_s16le               sami                    vcr1
> pcm_s16le_planar        sanm                    vima
> pcm_s24be               sgi                     vmdaudio
> pcm_s24daud             sgirle                  vmdvideo
> pcm_s24le               shorten                 vmnc
> pcm_s24le_planar        sipr                    vorbis
> pcm_s32be               smackaud                vp3
> pcm_s32le               smacker                 vp5
> pcm_s32le_planar        smc                     vp6
> pcm_s8                  smvjpeg                 vp6a
> pcm_s8_planar           snow                    vp6f
> pcm_u16be               sol_dpcm                vp8
> pcm_u16le               sonic                   vp9
> pcm_u24be               sp5x                    vplayer
> pcm_u24le               srt                     vqa
> pcm_u32be               ssa                     wavpack
> pcm_u32le               subrip                  webp
> pcm_u8                  subviewer               webvtt
> pcm_zork                subviewer1              wmalossless
> pcx                     sunrast                 wmapro
> pgm                     svq1                    wmav1
> pgmyuv                  svq3                    wmav2
> pgssub                  tak                     wmavoice
> pictor                  targa                   wmv1
> pjs                     targa_y216              wmv2
> ppm                     text                    wmv3
> prores                  theora                  wmv3image
> prores_lgpl             thp                     wnv1
> ptx                     tiertexseqvideo         ws_snd1
> qcelp                   tiff                    xan_dpcm
> qdm2                    tmv                     xan_wc3
> qdraw                   truehd                  xan_wc4
> qpeg                    truemotion1             xbin
> qtrle                   truemotion2             xbm
> r10k                    truespeech              xface
> r210                    tscc2                   xl
> ra_144                  tta                     xsub
> ra_288                  twinvq                  xwd
> ralf                    txd                     y41p
> rawvideo                ulti                    yop
> realtext                utvideo                 yuv4
> rl2                     v210                    zero12v
>
> Enabled encoders:
> a64multi                ljpeg                   ppm
> a64multi5               mjpeg                   prores
> aac                     movtext                 prores_aw
> ac3                     mp2                     prores_ks
> ac3_fixed               mp2fixed                qtrle
> adpcm_adx               mpeg1video              r10k
> adpcm_g722              mpeg2video              r210
> adpcm_g726              mpeg4                   ra_144
> adpcm_ima_qt            msmpeg4v2               rawvideo
> adpcm_ima_wav           msmpeg4v3               roq
> adpcm_ms                msvideo1                roq_dpcm
> adpcm_swf               nellymoser              rv10
> adpcm_yamaha            pam                     rv20
> alac                    pbm                     s302m
> amv                     pcm_alaw                sgi
> ass                     pcm_f32be               snow
> asv1                    pcm_f32le               sonic
> asv2                    pcm_f64be               sonic_ls
> avrp                    pcm_f64le               srt
> avui                    pcm_mulaw               ssa
> ayuv                    pcm_s16be               subrip
> bmp                     pcm_s16be_planar        sunrast
> cljr                    pcm_s16le               svq1
> comfortnoise            pcm_s16le_planar        targa
> dca                     pcm_s24be               tiff
> dnxhd                   pcm_s24daud             tta
> dpx                     pcm_s24le               utvideo
> dvbsub                  pcm_s24le_planar        v210
> dvdsub                  pcm_s32be               v308
> dvvideo                 pcm_s32le               v408
> eac3                    pcm_s32le_planar        v410
> ffv1                    pcm_s8                  vorbis
> ffvhuff                 pcm_s8_planar           wavpack
> flac                    pcm_u16be               wmav1
> flv                     pcm_u16le               wmav2
> g723_1                  pcm_u24be               wmv1
> gif                     pcm_u24le               wmv2
> h261                    pcm_u32be               xbm
> h263                    pcm_u32le               xface
> h263p                   pcm_u8                  xsub
> huffyuv                 pcx                     xwd
> jpeg2000                pgm                     y41p
> jpegls                  pgmyuv                  yuv4
>
> Enabled hwaccels:
>
> Enabled parsers:
> aac                     dvd_nav                 mpegvideo
> aac_latm                dvdsub                  png
> ac3                     flac                    pnm
> adx                     gsm                     rv30
> bmp                     h261                    rv40
> cavsvideo               h263                    tak
> cook                    h264                    vc1
> dca                     hevc                    vorbis
> dirac                   mjpeg                   vp3
> dnxhd                   mlp                     vp8
> dpx                     mpeg4video              vp9
> dvbsub                  mpegaudio
>
> Enabled demuxers:
> aac                     hevc                    pcm_s32le
> ac3                     hls                     pcm_s8
> act                     hnm                     pcm_u16be
> adf                     ico                     pcm_u16le
> adp                     idcin                   pcm_u24be
> adx                     idf                     pcm_u24le
> aea                     iff                     pcm_u32be
> afc                     ilbc                    pcm_u32le
> aiff                    image2                  pcm_u8
> amr                     image2pipe              pjs
> anm                     ingenient               pmp
> apc                     ipmovie                 pva
> ape                     ircam                   pvf
> aqtitle                 iss                     qcp
> asf                     iv8                     r3d
> ass                     ivf                     rawvideo
> ast                     jacosub                 realtext
> au                      jv                      redspark
> avi                     latm                    rl2
> avr                     lmlm4                   rm
> avs                     loas                    roq
> bethsoftvid             lvf                     rpl
> bfi                     lxf                     rsd
> bink                    m4v                     rso
> bintext                 matroska                rtp
> bit                     mgsts                   rtsp
> bmv                     microdvd                sami
> boa                     mjpeg                   sap
> brstm                   mlp                     sbg
> c93                     mm                      sdp
> caf                     mmf                     segafilm
> cavsvideo               mov                     shorten
> cdg                     mp3                     siff
> cdxl                    mpc                     smacker
> concat                  mpc8                    smjpeg
> data                    mpegps                  smush
> daud                    mpegts                  sol
> dfa                     mpegtsraw               sox
> dirac                   mpegvideo               spdif
> dnxhd                   mpl2                    srt
> dsicin                  mpsub                   str
> dts                     msnwc_tcp               subviewer
> dtshd                   mtv                     subviewer1
> dv                      mv                      swf
> dxa                     mvi                     tak
> ea                      mxf                     tedcaptions
> ea_cdata                mxg                     thp
> eac3                    nc                      tiertexseq
> epaf                    nistsphere              tmv
> ffm                     nsv                     truehd
> ffmetadata              nut                     tta
> filmstrip               nuv                     tty
> flac                    ogg                     txd
> flic                    oma                     vc1
> flv                     paf                     vc1t
> fourxm                  pcm_alaw                vivo
> frm                     pcm_f32be               vmd
> g722                    pcm_f32le               vobsub
> g723_1                  pcm_f64be               voc
> g729                    pcm_f64le               vplayer
> gif                     pcm_mulaw               vqf
> gsm                     pcm_s16be               w64
> gxf                     pcm_s16le               wav
> h261                    pcm_s24be               wc3
> h263                    pcm_s24le               webvtt
> h264                    pcm_s32be               wsaud
> wsvqa                   xa                      xwma
> wtv                     xbin                    yop
> wv                      xmv                     yuv4mpegpipe
>
> Enabled muxers:
> a64                     image2pipe              pcm_s24be
> ac3                     ipod                    pcm_s24le
> adts                    ircam                   pcm_s32be
> adx                     ismv                    pcm_s32le
> aiff                    ivf                     pcm_s8
> amr                     jacosub                 pcm_u16be
> asf                     latm                    pcm_u16le
> asf_stream              m4v                     pcm_u24be
> ass                     matroska                pcm_u24le
> ast                     matroska_audio          pcm_u32be
> au                      md5                     pcm_u32le
> avi                     microdvd                pcm_u8
> avm2                    mjpeg                   psp
> bit                     mkvtimestamp_v2         rawvideo
> caf                     mlp                     rm
> cavsvideo               mmf                     roq
> crc                     mov                     rso
> data                    mp2                     rtp
> daud                    mp3                     rtsp
> dirac                   mp4                     sap
> dnxhd                   mpeg1system             segment
> dts                     mpeg1vcd                smjpeg
> dv                      mpeg1video              smoothstreaming
> eac3                    mpeg2dvd                sox
> f4v                     mpeg2svcd               spdif
> ffm                     mpeg2video              speex
> ffmetadata              mpeg2vob                srt
> filmstrip               mpegts                  stream_segment
> flac                    mpjpeg                  swf
> flv                     mxf                     tee
> framecrc                mxf_d10                 tg2
> framemd5                null                    tgp
> g722                    nut                     truehd
> g723_1                  ogg                     vc1
> gif                     oma                     vc1t
> gxf                     opus                    voc
> h261                    pcm_alaw                w64
> h263                    pcm_f32be               wav
> h264                    pcm_f32le               webm
> hds                     pcm_f64be               webvtt
> hls                     pcm_f64le               wtv
> ico                     pcm_mulaw               wv
> ilbc                    pcm_s16be               yuv4mpegpipe
> image2                  pcm_s16le
>
> Enabled protocols:
> cache                   hls                     rtmp
> concat                  http                    rtmpt
> crypto                  httpproxy               rtp
> data                    md5                     srtp
> ffrtmphttp              mmsh                    tcp
> file                    mmst                    udp
> ftp                     pipe                    unix
> gopher
>
> Enabled filters:
> aconvert                colorchannelmixer       noise
> adelay                  compand                 null
> aecho                   concat                  nullsink
> aeval                   copy                    nullsrc
> aevalsrc                crop                    overlay
> afade                   curves                  pad
> aformat                 dctdnoiz                pan
> ainterleave             decimate                perms
> allpass                 deshake                 pixdesctest
> alphaextract            drawbox                 psnr
> alphamerge              drawgrid                removelogo
> amerge                  earwax                  replaygain
> amix                    edgedetect              rgbtestsrc
> amovie                  elbg                    rotate
> anull                   equalizer               scale
> anullsink               extractplanes           select
> anullsrc                fade                    sendcmd
> apad                    field                   separatefields
> aperms                  fieldmatch              setdar
> aphaser                 fieldorder              setfield
> aresample               format                  setpts
> aselect                 fps                     setsar
> asendcmd                framestep               settb
> asetnsamples            gradfun                 showinfo
> asetpts                 haldclut                showspectrum
> asetrate                haldclutsrc             showwaves
> asettb                  hflip                   silencedetect
> ashowinfo               highpass                sine
> asplit                  histogram               smptebars
> astats                  hue                     smptehdbars
> astreamsync             idet                    split
> atempo                  il                      swapuv
> atrim                   interleave              telecine
> avectorscope            join                    testsrc
> bandpass                life                    thumbnail
> bandreject              lowpass                 tile
> bass                    lut                     transpose
> bbox                    lut3d                   treble
> biquad                  lutrgb                  trim
> blackdetect             lutyuv                  unsharp
> blend                   mandelbrot              vflip
> cellauto                mergeplanes             vignette
> channelmap              movie                   volume
> channelsplit            negate                  volumedetect
> color                   noformat                w3fdif
> colorbalance
>
> Enabled bsfs:
> aac_adtstoasc           imx_dump_header         mp3_header_decompress
> chomp                   mjpeg2jpeg              noise
> dump_extradata          mjpega_dump_header      remove_extradata
> h264_mp4toannexb        mov2textsub             text2movsub
>
> Enabled indevs:
> dv1394                  lavfi                   v4l2
> fbdev                   oss
>
> Enabled outdevs:
> fbdev                   oss                     v4l2
>
> License: LGPL version 2.1 or later
> Creating config.mak, config.h, and doc/config.texi...
> config.h is unchanged
> libavutil/avconfig.h is unchanged
>
>> -----Original Message-----
>> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
>> bounces at ffmpeg.org] On Behalf Of anshul
>> Sent: Tuesday, December 17, 2013 11:12 AM
>> To: ffmpeg-user at ffmpeg.org
>> Subject: Re: [FFmpeg-user] Illegal instruction while executing ffmpeg on
>> powerpc
>>
>> On 12/17/2013 10:48 AM, Harninder Rai wrote:
>>> Any pointers on the following?
>>> Help on this issue is highly appreciated
>>>
>>> Regards
>>> Harry++
>>>
>>> From: Rai Harninder-B01044
>>> Sent: Thursday, December 12, 2013 5:28 PM
>>> To: 'ffmpeg-user at ffmpeg.org'
>>> Subject: Illegal instruction while executing ffmpeg on powerpc
>>>
>>> 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.1
>>> 1.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc --target-os=linux
>>> --disable-altivec
>>>
>>> [root at P1024RDB shm]# ./ffmpeg
>>> Illegal instruction
>>>
>>> [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
>> Hey Did you compiled ffmpeg source code for ppc or took ffmpeg for ppc
>> binary can you share your log while doing configure
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Hi Harry

./configure looks ok to me, can I have strace ffmpeg output

Thanks
Anshul


More information about the ffmpeg-user mailing list