Hi, Every time I merge gimp I have the same problem : I have to remove -fPIC from my CFLAGS, as otherwise it breaks with this: ---- if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -O3 -march=pentium4 -pipe -fomit-frame-pointer -fPIC -Wall -MT gimp-composite-mmx.o -MD -MP -MF ".deps/gimp-composite-mmx.Tpo" \ -c -o gimp-composite-mmx.o `test -f 'gimp-composite-mmx.c' || echo './'`gimp-composite-mmx.c; \ then mv -f ".deps/gimp-composite-mmx.Tpo" ".deps/gimp-composite-mmx.Po"; \ else rm -f ".deps/gimp-composite-mmx.Tpo"; exit 1; \ fi gimp-composite-mmx.c: In function `gimp_composite_burn_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:149: error: can't find a register in class `GENERAL_REGS' while reloading `asm' gimp-composite-mmx.c:203: error: can't find a register in class `GENERAL_REGS' while reloading `asm' gimp-composite-mmx.c: In function `gimp_composite_scale_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:1015: error: PIC register `%ebx' clobbered in `asm' gimp-composite-mmx.c: At top level: gimp-composite-mmx.c:835: warning: 'mmx_op_overlay' defined but not used make[3]: *** [gimp-composite-mmx.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gimp-2.2.0/work/gimp-2.2.0/app/composite' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-2.2.0/work/gimp-2.2.0/app' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-2.2.0/work/gimp-2.2.0' make: *** [all] Error 2 ---- It is the same for a few other apps that use mmx. So please, filter the -fPIC flag out in the ebuild to fix the matter. Thanks.
search & dupe, i'm pretty sure this is already reported
*** This bug has been marked as a duplicate of 47220 ***