[Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X

Simon Daniels simondaniels23 at gmail.com
Thu Nov 24 22:43:50 CET 2011


Hi Carl,

1. ./configure --cc="gcc -m32" --disable-decoder=h264,svq3
--disable-parser=h264 completed just fine without any errors on 0.8.7.

2. I ran ./configure --cc="gcc-m32" on the current git head and got
the same error as before.

3. Ran last gcc command with O1 and O2 and got same error on current
git head (with -fno-omit-frame-pointer at the end).

4. Repeated #2 and #3 with clang on current git head and got the same errors

Thanks!



On Thu, Nov 24, 2011 at 12:32 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Simon Daniels <simondaniels23 at ...> writes:
>
>> Here's what I did this time. I'm sticking to ffmpeg-0.8.7 because I am
>> a distributor.
>
> Does it work with current git head? If yes, we could backport the change...
>
>> 1. Ran ./configure --cc="gcc -m32" --disable-decoder=h264
>
> Should have been --disable-decoder=h264,svq3 --disable-parser=h264 (sorry for
> not testing myself).
>
> [...]
>
>> 4. Added -fno-omit-frame-pointer to end and ran gcc -m32 -I.
>> -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99
>> -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement
>> -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization
>> -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
>> -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
>> -O3 -fno-math-errno -mllvm -stack-alignment=16  -MMD -MF
>> libavcodec/h264_cabac.d -MT libavcodec/h264_cabac.o -c -o
>> libavcodec/h264_cabac.o -fno-omit-frame-pointer
>> libavcodec/h264_cabac.c
>
> You can try to replace -O3 with -O2 (or -O1)
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>


More information about the Libav-user mailing list