[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
Sun Jun 3 18:09:34 CEST 2012


On Sat, Jun 2, 2012 at 8:42 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Jun 01, 2012 at 02:15:53PM -0600, Michael Bradshaw wrote:
>> Hi,
>>
>> Attached patch allows shared 32 bit ffmpeg to be built with gcc4.2 on
>> 64 bit Mac OS X. Without this, --disable-asm must be passed to
>> configure.
>>
>> I expect this patch will be a bit controversial, and if anyone has a
>> better solution I'd be happy to see it.
>>
>> See discussion here:
>> http://ffmpeg.org/pipermail/ffmpeg-user/2012-May/006851.html (and
>> continued here:
>> http://ffmpeg.org/pipermail/ffmpeg-user/2012-June/006854.html) for
>> more information relating to this.
>
> does replacing some of the problemtic "m" cases by MANGLE() work ?

I'd love to be able to answer that, but to be honest I'm not familiar
with x86 assembly and have no clue what constant to pass to MANGLE()
in the "m" cases. I can talk with some coworkers tomorrow who might
have some ideas though.

Thanks,

Michael


More information about the ffmpeg-devel mailing list