[FFmpeg-devel] iOS Cross Compile issues

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Dec 20 11:52:01 CET 2011


On Tue, Dec 20, 2011 at 08:32:55AM +0100, Gerhard Roethlin wrote:
> This patch fixes problems when compiling ffmpeg with apple's iOS SDK, maybe
> caused by the old compiler shipped with it. The solution is similar to that
> in commit f7de5235.
> I am aware that this just hides the problem, but I have no arm asm knowledge,
> so I can not provide a real solution.
> 
> This is the error message:
> > make V=1
> /Developer4/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -I. -I./ --sysroot=/Developer4/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -arch armv7 -mcpu=cortex-a8 -std=c99 -fomit-frame-pointer -fPIC -marm -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -mllvm -stack-alignment=16  -MMD -MF libavfilter/af_volume.d -MT libavfilter/af_volume.o -c -o libavfilter/af_volume.o libavfilter/af_volume.c
> error: invalid operand in inline asm: 'adds   $1, ${2:R}, ${2:Q}, lsr #31  
> 	itet   ne                     
> 	mvnne  $1, #1<<31             
> 	moveq  $0, ${2:Q}                
> 	eorne  $0, $1,  ${2:R}, asr #31  
> 	'

Could you please find out where exactly the issue lies?
E.g. by randomly commenting out instructions (if it is something that
has to do with instructions, and not asm arguments).
That error message seems very strange to me, I don't think I've
ever seen one like that.


More information about the ffmpeg-devel mailing list