[FFmpeg-devel] [PATCH] Fix shared build on OS X
David Conrad
lessen42
Wed Nov 19 19:41:43 CET 2008
Hi,
Currently compilation on OS X intel with --enable-shared fails with
(using apple gcc 4.0.1)
ffmpeg/libavcodec/i386/cavsdsp_mmx.c: In function
?ff_put_cavs_qpel8_mc01_3dnow?:
ffmpeg/libavcodec/i386/cavsdsp_mmx.c:448: error: can't find a register
in class ?GENERAL_REGS? while reloading ?asm?
This seems to be because gcc decides to use edi for the ADD constant
instead of memory and borks when the constraints specify its use for
dstStride.
Attached patch is the minimal needed to fix the build for me, but I
think that all these named registers should probably be replaced with
the general "r". Comments?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cavs-shared.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081119/e285597d/attachment.txt>
-------------- next part --------------
More information about the ffmpeg-devel
mailing list