[FFmpeg-devel] OS/X Intel compile error

Ronald S. Bultje rsbultje
Thu Oct 18 22:28:44 CEST 2007


Hi Steven,

On 10/18/07, Steven M. Schultz <sms at 2bsd.com> wrote:
>
> gcc -I"/usr/local/src/ffmpeg"/libswscale
> -I"/usr/local/src/ffmpeg"/libavcodec  -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
> -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"
> -I"/usr/local/src/ffmpeg"/libavutil -no-cpp-precomp -pipe
> -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g
> -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3  -c -o i386/dsputil
> mmx.o i386/dsputil_mmx.c
>
[..]

> 386/dsputil_mmx.c: In function 'flac_compute_autocorr_sse2':
> i386/dsputil_mmx.c:3003: error: can't find a register in class
> 'GENERAL_REGS' w ile reloading 'asm'
> i386/dsputil_mmx.c:3005: error: can't find a register in class
> 'GENERAL_REGS' w ile reloading 'asm'


-mdynamic-no-pic fixes this for me on the exact same config (see the other
thread on the same issue)...

Ronald




More information about the ffmpeg-devel mailing list