ffmpeg fails at postprocess.c when compiled with the "-momit-leaf-frame-pointer" cflag: gcc -c -Wall -march=pentium4 -O2 -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -I. -I.. -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o postprocess_pic.o postprocess.c In file included from postprocess.c:509: postprocess_template.c: In function `postProcess_MMX': postprocess_template.c:2792: warning: unused variable `mbWidth' In file included from postprocess.c:509: postprocess_template.c:2624: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:2707: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:2624: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:2707: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make: *** [postprocess_pic.o] Error 1 this flag should be filtered out in the ebuild the flag works fine for the the rest of my system though
I reproduced this problem. ffmpeg-0.4.8.20040222 and up now have the flag filtered just for the libpostproc portion.
nice, thank you ;)