[FFmpeg-devel] Reg: libavcodec cross compiling error....why?

Ragas sag info2use4me
Wed Feb 11 12:19:30 CET 2009


Hi,

I am trying to cross compile mplayer for arm. And my configuration settings
are as below. The make command is also as below.

./configure --enable-cross-compile --cc=arm_v5t_le-gcc --host-cc=gcc
--target=arm-linux-gnu --enable-armv5te --disable-mad --enable-fbdev
--enable-directfb --enable-sdl
--with-sdl-config=/home/sagar/temp/ffmpeg/ffmpeg/SDL-1.2.13/sdl_arm/usr/local/lib/pkgconfig

make CC=arm_v5t_le-gcc CXX=arm_v5t_le-g++


At this particular point, i start getting the following error as below. The
below command is, when the error starts coming. KIndly if anybody can help
me to solve this problem in cross compiling it would be really help. Am i
missing anything in my command line to cross compile ?
How to fix the following below error. I faced the same error while cross
compiling ffmpeg seperately also.


arm_v5t_le-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I.. -I.. -Wundef -Wdisabled-optimization -Wdeclaration-after-statement
-std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -Ilibdvdread4
-I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include/freetype2
-Ilibdvdnav -c -o arm/dsputil_vfp.o arm/dsputil_vfp.S
arm/dsputil_vfp.S: Assembler messages:
arm/dsputil_vfp.S:46: Error: bad instruction `vpush {d8-d15}'
arm/dsputil_vfp.S:52: Error: bad instruction `vldmia r3!,{s0-s3}'
arm/dsputil_vfp.S:53: Error: bad instruction `vldmia r1!,{s8-s11}'
arm/dsputil_vfp.S:54: Error: bad instruction `vldmia r3!,{s4-s7}'
arm/dsputil_vfp.S:55: Error: bad instruction `vldmia r1!,{s12-s15}'
arm/dsputil_vfp.S:56: Error: bad instruction `vmul.f32 s8,s0,s8'
arm/dsputil_vfp.S:59: Error: bad instruction `vmul.f32 s12,s4,s12'
arm/dsputil_vfp.S:60: Error: bad instruction `vldmiage r3!,{s16-s19}'
arm/dsputil_vfp.S:61: Error: bad instruction `vldmiage r1!,{s24-s27}'
arm/dsputil_vfp.S:62: Error: bad instruction `vldmiage r3!,{s20-s23}'
arm/dsputil_vfp.S:63: Error: bad instruction `vldmiage r1!,{s28-s31}'
arm/dsputil_vfp.S:64: Error: bad instruction `vmulge.f32 s24,s16,s24'
arm/dsputil_vfp.S:65: Error: bad instruction `vstmia r0!,{s8-s11}'
arm/dsputil_vfp.S:66: Error: bad instruction `vstmia r0!,{s12-s15}'
arm/dsputil_vfp.S:67: Error: bad instruction `vmulge.f32 s28,s20,s28'
arm/dsputil_vfp.S:68: Error: bad instruction `vldmiagt r3!,{s0-s3}'
arm/dsputil_vfp.S:69: Error: bad instruction `vldmiagt r1!,{s8-s11}'
arm/dsputil_vfp.S:70: Error: bad instruction `vldmiagt r3!,{s4-s7}'
arm/dsputil_vfp.S:71: Error: bad instruction `vldmiagt r1!,{s12-s15}'
arm/dsputil_vfp.S:72: Error: bad instruction `vmulge.f32 s8,s0,s8'
arm/dsputil_vfp.S:73: Error: bad instruction `vstmiage r0!,{s24-s27}'
arm/dsputil_vfp.S:74: Error: bad instruction `vstmiage r0!,{s28-s31}'
arm/dsputil_vfp.S:79: Error: bad instruction `vpop {d8-d15}'
arm/dsputil_vfp.S:89: Error: .endfunc missing for previous .func
arm/dsputil_vfp.S:90: Error: bad instruction `vpush {d8-d15}'
arm/dsputil_vfp.S:92: Error: bad instruction `vldmdb r2!,{s0-s3}'
arm/dsputil_vfp.S:93: Error: bad instruction `vldmia r1!,{s8-s11}'
arm/dsputil_vfp.S:94: Error: bad instruction `vldmdb r2!,{s4-s7}'
arm/dsputil_vfp.S:95: Error: bad instruction `vldmia r1!,{s12-s15}'
arm/dsputil_vfp.S:96: Error: bad instruction `vmul.f32 s8,s3,s8'
arm/dsputil_vfp.S:97: Error: bad instruction `vmul.f32 s9,s2,s9'
arm/dsputil_vfp.S:98: Error: bad instruction `vmul.f32 s10,s1,s10'
arm/dsputil_vfp.S:99: Error: bad instruction `vmul.f32 s11,s0,s11'
arm/dsputil_vfp.S:102: Error: bad instruction `vldmdbge r2!,{s16-s19}'
arm/dsputil_vfp.S:103: Error: bad instruction `vmul.f32 s12,s7,s12'
arm/dsputil_vfp.S:104: Error: bad instruction `vldmiage r1!,{s24-s27}'
arm/dsputil_vfp.S:105: Error: bad instruction `vmul.f32 s13,s6,s13'
arm/dsputil_vfp.S:106: Error: bad instruction `vldmdbge r2!,{s20-s23}'
arm/dsputil_vfp.S:107: Error: bad instruction `vmul.f32 s14,s5,s14'
arm/dsputil_vfp.S:108: Error: bad instruction `vldmiage r1!,{s28-s31}'
arm/dsputil_vfp.S:109: Error: bad instruction `vmul.f32 s15,s4,s15'
arm/dsputil_vfp.S:110: Error: bad instruction `vmulge.f32 s24,s19,s24'
arm/dsputil_vfp.S:111: Error: bad instruction `vldmdbgt r2!,{s0-s3}'
arm/dsputil_vfp.S:112: Error: bad instruction `vmulge.f32 s25,s18,s25'
arm/dsputil_vfp.S:113: Error: bad instruction `vstmia r0!,{s8-s13}'
arm/dsputil_vfp.S:114: Error: bad instruction `vmulge.f32 s26,s17,s26'
arm/dsputil_vfp.S:115: Error: bad instruction `vldmiagt r1!,{s8-s11}'
arm/dsputil_vfp.S:116: Error: bad instruction `vmulge.f32 s27,s16,s27'
arm/dsputil_vfp.S:117: Error: bad instruction `vmulge.f32 s28,s23,s28'
arm/dsputil_vfp.S:118: Error: bad instruction `vldmdbgt r2!,{s4-s7}'
arm/dsputil_vfp.S:119: Error: bad instruction `vmulge.f32 s29,s22,s29'
arm/dsputil_vfp.S:120: Error: bad instruction `vstmia r0!,{s14-s15}'
arm/dsputil_vfp.S:121: Error: bad instruction `vmulge.f32 s30,s21,s30'
arm/dsputil_vfp.S:122: Error: bad instruction `vmulge.f32 s31,s20,s31'
arm/dsputil_vfp.S:123: Error: bad instruction `vmulge.f32 s8,s3,s8'
arm/dsputil_vfp.S:124: Error: bad instruction `vldmiagt r1!,{s12-s15}'
arm/dsputil_vfp.S:125: Error: bad instruction `vmulge.f32 s9,s2,s9'
arm/dsputil_vfp.S:126: Error: bad instruction `vmulge.f32 s10,s1,s10'
arm/dsputil_vfp.S:127: Error: bad instruction `vstmiage r0!,{s24-s27}'
arm/dsputil_vfp.S:128: Error: bad instruction `vmulge.f32 s11,s0,s11'
arm/dsputil_vfp.S:129: Error: bad instruction `vstmiage r0!,{s28-s31}'
arm/dsputil_vfp.S:132: Error: bad instruction `vpop {d8-d15}'
make: *** [arm/dsputil_vfp.o] Error 1



Warm Regards,
Sagar


>




More information about the ffmpeg-devel mailing list