media-gfx/gimp-1.3.17 fails to compile on my gentoo 1.2 box (it might be the older gcc 2.9.5, but I'm not sure...) 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-Compositing\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATE D -DGTK_DISABLE_DEPRECATED -g -mcpu=i686 -march=i686 -O3 -pipe -g -g -g -Wall -c `test -f 'gimp-composite-mmx.c' || echo './'`gimp-composite-mmx.c gimp-composite-mmx.c: In function `gimp_composite_addition_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:168: unknown register name `%mm0' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm7' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm6' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm5' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm4' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm3' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm2' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm1' in `asm' gimp-composite-mmx.c:183: unknown register name `%mm0' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm7' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm6' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm5' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm4' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm3' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm2' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm1' in `asm' gimp-composite-mmx.c:199: unknown register name `%mm0' in `asm' gimp-composite-mmx.c: In function `gimp_composite_burn_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:212: unknown register name `%mm1' in `asm' gimp-composite-mmx.c:261: unknown register name `%mm4' in `asm' gimp-composite-mmx.c:261: unknown register name `%mm3' in `asm' gimp-composite-mmx.c:261: unknown register name `%mm2' in `asm' gimp-composite-mmx.c:261: unknown register name `%mm1' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm7' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm6' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm5' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm4' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm3' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm2' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm1' in `asm' gimp-composite-mmx.c:311: unknown register name `%mm0' in `asm' <snip about 200 lines of similar errors> gimp-composite-mmx.c:1422: unknown register name `%mm0' in `asm' gimp-composite-mmx.c:1431: unknown register name `%mm4' in `asm' gimp-composite-mmx.c:1431: unknown register name `%mm3' in `asm' gimp-composite-mmx.c:1431: unknown register name `%mm2' in `asm' gimp-composite-mmx.c:1431: unknown register name `%mm1' in `asm' gimp-composite-mmx.c:1441: unknown register name `%mm4' in `asm' gimp-composite-mmx.c:1441: unknown register name `%mm3' in `asm' gimp-composite-mmx.c:1441: unknown register name `%mm2' in `asm' gimp-composite-mmx.c:1441: unknown register name `%mm1' in `asm' make[3]: *** [gimp-composite-mmx.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gimp-1.3.17/work/gimp-1.3.17/app/composite' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-1.3.17/work/gimp-1.3.17/app' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-1.3.17/work/gimp-1.3.17' make: *** [all] Error 2 !!! ERROR: media-gfx/gimp-1.3.17 failed. !!! Function src_compile, Line 71, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. palmer / # emerge info Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8) ============================================================== == System uname: 2.4.21 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio. org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 apm avi crypt cups encode libg++ mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb esd gdbm gif gnome-libs gpm gtk imlib java libwww motif oggvorbis pam python readline sdl snmp ssl svga tcpd -3dnow alsa apache2 -arts bonobo cdr curses dga dvd emacs ethereal evo fbcon gnome gtk2 gtkhtml guile jpeg -kde lcms -lirc -mikmod -moznoxft mysql nas -nls odbc -opengl oss pcmcia pda perl pic plotutils png pnp -qt -qtmt samba -slang smooth tcltk tetex tiff trusted usb vim-with-x xml X zlib" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe" CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="ccache digest sandbox strict"
just add -mmmx to your CFLAGS and try again
and -mmx in your USE . There are some known problems with the .17 release and mmx, should be fixed in CVS and .18 . But since this is a p.mask-ed dev release we're not gonna do anything about it right now. Please report if disabling mmx helped though.
-mmmx doesn't appear to be a valid flag for gcc 2.9.5 building with USE="-mmx" works though - thanks!
*** Bug 25531 has been marked as a duplicate of this bug. ***