[libav-bugs] [Bug 337] Compilation for ios is broken on mountain lion

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Aug 6 19:40:33 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=337

--- Comment #8 from Memphiz <memphiz at xbmc.org> 2012-08-06 19:40:33 CEST ---
Ok i will try to give you a picture of what i did. All is done on Mountain Lion
10.8 (booted 64 bit - as 32bit kernel isn't supported anymore)

1. This is the output with current master of git.libav.org (rev
cf22705e87b6f5015b5cbbf60b6ce9b818eb1900)

$ uname -a
Darwin electra.sog 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT
2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64

$ xcodebuild -version
Xcode 4.4
Build version 4F250

2. configure line:

./configure --extra-cflags='-arch armv7' --enable-cross-compile --arch=arm
--cpu=cortex-a8 --enable-pic --enable-neon --target-os=darwin
--disable-amd3dnow --disable-static --disable-muxers --enable-muxer=spdif
--enable-muxer=adts --disable-encoders --enable-encoder=ac3
--enable-encoder=aac --disable-libvorbis --disable-devices --enable-static
--disable-doc --disable-decoder=mpeg_xvmc --enable-gpl --enable-protocol=http
--enable-pthreads --enable-runtime-cpudetect
--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
--as='gas-preprocessor.pl
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc'
--extra-ldflags=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/system
--extra-ldflags='-arch armv7'
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk

3. hitting make and bumping out with:

$
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
-I. -I.
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.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 -Wstrict-prototypes -O3 -fno-math-errno -mllvm
-stack-alignment=16  -MMD -MF libavfilter/af_asyncts.d -MT
libavfilter/af_asyncts.o -c -o libavfilter/af_asyncts.o
libavfilter/af_asyncts.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  
    '

4. I know its a different file where it breaks now in compare to the initial
report ... no clue why.

If you need any further things - i will try my best to help out.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list