[FFmpeg-devel] [PATCH] Fix apply_welch_window_sse2 compilation on Mac OS X/x86

Graham Booker gbooker
Wed Oct 17 15:40:02 CEST 2007


If you do:
cd libavcodec
export CFLAGS="-O1 -fomit-frame-pointer -funit-at-a-time"; make  
h264.o cabac.o i386/dsputil_mmx.o h264_parser.o
unset CFLAGS;
cd ..

Then you can build everything else without the optimizations enabled  
for those four files.


On Oct 17, 2007, at 3:29 AM, Pierre d'Herbemont wrote:

> Hi,
>
> Here is a fix for:
>
> i386/dsputil_mmx.c:3003: error: can't find a register in class  
> 'GENERAL_REGS' while reloading 'asm'
> i386/dsputil_mmx.c:3005: error: can't find a register in class  
> 'GENERAL_REGS' while reloading 'asm'
> make[4]: *** [i386/dsputil_mmx.o] Error 1
> make[3]: *** [lib] Error 2
> make[2]: *** [.ffmpeg] Error 2
> make[1]: *** [src] Error 2
>
> We don't have enough free registers around on Mac OS X/x86. Feel  
> free to commit a better fix.
>
> Pierre.<osx_intel_apply_welch_window_sse2.diff.txt>___________________ 
> ____________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3632 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071017/62faeef9/attachment.bin>



More information about the ffmpeg-devel mailing list