Similar to Bug 119851, a combination of gcc41 and -march=i686 causes compiler errors in jcdctmgr.c, "suffix or operands invalid for `movq'", for EVERY instance of movq in that file. This patch fixes the problem. It may only be needed for i686. http://burningsmell.org/patch/jpeg-mmx-0.1.6-i686.patch
i can't reproduce this. can i get emerge --info?
okay, got it. only occurs at -O0.
vapier, are you still maintaining this? if so do you prefer patching the header or forcing >=-O1?
forcing flags is wrong ... you cant assume that -O1+ will always work using an X operand is wrong ... you need a constraint that all of these instructions can use as a source ("m" will probably work fine): movd movq packssdw packsswb packuswb paddb paddd paddsb paddsw paddusb paddusw paddw pand pandn pavgb pavgw pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pmaddwd pmaxsw pmaxub pminsw pminub pmulhuw pmulhw pmullw por psadbw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd pxor
jpeg-mmx is dead