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

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Jul 30 23:17:38 CEST 2012


           Summary: Compilation for ios is broken on mountain lion
           Product: Libav
           Version: git HEAD
          Platform: ARM
        OS/Version: Mac OS
            Status: NEW
          Severity: major
          Priority: Normal
         Component: libavfilter
        AssignedTo: bugzilla at libav.org
        ReportedBy: memphiz at xbmc.org

As the title states. Compiling libav on the new MacOSX Mountain Lion (10.8) is

There are 2 issues - first llvm doesn't know "-stack-alignment=16" anymore. I
hope this means that the stack is auto aligned to 16bytes now (but didn't find
anything about it).

Beside that i get the following error when compiling libavfilter. I'm using
latest gas-preprocess.pl from mans rullgard github.

This is my 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-armv5te --disable-armv6t2 --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
--extra-ldflags='-arch armv7'

gcc version:

i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2377.00)

This is the output of the compilation error:

CC      libavfilter/af_channelmap.o
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  
make: *** [libavfilter/af_asyncts.o] Error 1
make: *** Waiting for unfinished jobs....

If you need any more info - let me know.

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