[FFmpeg-devel] [PATCH] swscale: add workaround for building 32 bit shared libs with gcc4.2 on 64 bit Mac OS X

Michael Bradshaw mbradshaw at sorensonmedia.com
Mon Jun 4 21:34:34 CEST 2012

On Mon, Jun 4, 2012 at 11:24 AM, Michael Bradshaw
<mbradshaw at sorensonmedia.com> wrote:
> If that looks okay in general, I'll work on proper patch a patch.
*work on a proper patch*

I'm still not 100% sure if this is the correct way to do this, but
I've attached what I hope to be a correct new patch. There's also an
accompanying cosmetic patch that realigns things. Both are attached.

These patches allow me to properly build ffmpeg when configured as
./configure --enable-shared --disable-static --cc="gcc -m32" on my
64-bit Intel OS X machine using gcc4.2 (which it previously could

Let me know if anything is off or needs to be changed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MANGLEd-swscale-x86-asm-to-save-registers.patch
Type: application/octet-stream
Size: 5890 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120604/cdfec0eb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-swscale-cosmetics-align-asm.patch
Type: application/octet-stream
Size: 18983 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120604/cdfec0eb/attachment-0001.obj>

More information about the ffmpeg-devel mailing list