New submission from Panagiotis Issaris <[EMAIL PROTECTED]>: Compiling ffmpeg on MacOS/X results in compilation failure.
One problem is situated in the FLAC encoder (more output below): dsputil_mmx.c:3015: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' Manually disabling flac_compute_autocorr_sse2() and apply_welch_window_sse2() fixes this (or probably --disable-encoder=flac). More output of make/gcc: ... gcc -I"/Users/takis/src/ffmpeg-rw"/libswscale -I"/Users/takis/src/ffmpeg-rw"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/Users/takis/build/ffmpeg" -I"/Users/takis/src/ffmpeg-rw" -I"/Users/takis/src/ffmpeg-rw"/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 /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c: In function 'gmc_mmx': /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:2669: warning: suggest parentheses around arithmetic in operand of | /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:2669: warning: suggest parentheses around arithmetic in operand of | /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:2670: warning: suggest parentheses around arithmetic in operand of | /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:2670: warning: suggest parentheses around arithmetic in operand of | /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:2670: warning: suggest parentheses around arithmetic in operand of | /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c: In function 'dsputil_init_mmx': /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:3758: warning: assignment from incompatible pointer type /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:3766: warning: assignment from incompatible pointer type /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c: In function 'flac_compute_autocorr_sse2': /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:3013: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' /Users/takis/src/ffmpeg-rw/libavcodec/i386/dsputil_mmx.c:3015: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[1]: *** [i386/dsputil_mmx.o] Error 1 make: *** [lib] Error 2 ---------- messages: 1219 nosy: takis priority: important status: new substatus: new title: Compilation fails on MacOS/X type: bug ______________________________________________________ FFmpeg issue tracker <[EMAIL PROTECTED]> <https://roundup.mplayerhq.hu/roundup/ffmpeg/issue294> ______________________________________________________
