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

2011-12-06 Thread Simon Daniels
Any ideas Carl? There's progress! On Sat, Nov 26, 2011 at 1:20 PM, Simon Daniels wrote: > 1. Ran ./configure --cc="gcc -m32" > 2. grep HAVE_EBX_AVAILABLE config.h. output: #define HAVE_EBX_AVAILABLE 1 > 3. grep HAVE_EBP_AVAILABLE config.h. output: #define HAVE_EBP_AVAILABLE 1 > > 4. Ran ./configu

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

2011-11-26 Thread Simon Daniels
1. Ran ./configure --cc="gcc -m32" 2. grep HAVE_EBX_AVAILABLE config.h. output: #define HAVE_EBX_AVAILABLE 1 3. grep HAVE_EBP_AVAILABLE config.h. output: #define HAVE_EBP_AVAILABLE 1 4. Ran ./configure --cc="clang -m32" 5. grep HAVE_EBX_AVAILABLE config.h. output: #define HAVE_EBX_AVAILABLE 1 6. g

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

2011-11-25 Thread Carl Eugen Hoyos
Simon Daniels writes: > 4. Repeated #2 and #3 with clang on current git head and got the same errors Next tests: Could you provide the output of $ grep HAVE_EBX_AVAILABLE config.h $ grep HAVE_EBP_AVAILABLE config.h (I assume it is identical for clang and gcc, is it?) And please test versions 32

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

2011-11-24 Thread Simon Daniels
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 cu

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

2011-11-24 Thread Carl Eugen Hoyos
Simon Daniels 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 -

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

2011-11-24 Thread Simon Daniels
Hi Carl, Apologies - I had tried without -fomit-frame-pointer and replacing it with -fno-omit-frame-pointer but that wasn't what I pasted in the email. I'll be more detailed this time. Here's what I did this time. I'm sticking to ffmpeg-0.8.7 because I am a distributor. 1. Ran ./configure --cc="

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

2011-11-24 Thread Carl Eugen Hoyos
Simon Daniels writes: > Thanks guys but omitting -fomit-frame-pointer in the last gcc call or > replacing it with -fno-omit-frame-pointer resulted in the same error > (trying both gcc and clang). [...] > make V=1 of clang is: > clang -m32 -I. -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOU

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

2011-11-23 Thread Simon Daniels
Thanks guys but omitting -fomit-frame-pointer in the last gcc call or replacing it with -fno-omit-frame-pointer resulted in the same error (trying both gcc and clang). Here's my output of gcc -v: Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc4

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

2011-11-23 Thread Carl Eugen Hoyos
Simon Daniels writes: > 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-optimizati

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

2011-11-23 Thread jan hölscher
Hi, in This Post is a sugestion in removing the Option -fomit-frame-pointer. http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/4802 Am 23.11.2011 07:41 schrieb "Simon Daniels" : ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/m

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

2011-11-22 Thread Simon Daniels
Hi Carl, Here's what I get with ./configure --disable-static --enable-shared --disable-outdev=sdl --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --enable-runtime-cpudetect --extra-cflags="-m32 -fomit-frame-pointer" --extra-ldflags="-m32 -fomit-frame-pointer" --cc="gcc -m

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

2011-11-22 Thread Carl Eugen Hoyos
Simon Daniels writes: > I'm running 64-bit Lion but I need to compile a 32-bit version of > ffmpeg because another library I'm using is only available as 32-bit. > I've tried a number of different configurations but they're all giving > me errors. Here's what I've tried: > > ./configure --disabl

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

2011-11-22 Thread Simon Daniels
I'm running 64-bit Lion but I need to compile a 32-bit version of ffmpeg because another library I'm using is only available as 32-bit. I've tried a number of different configurations but they're all giving me errors. Here's what I've tried: ./configure --disable-static --enable-shared --disable-o