"emerge gimp" ends with : if 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_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -march=athlon-xp -O3 -pipe -g -g -g -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: Dans la fonction
"emerge gimp" ends with : if 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_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -march=athlon-xp -O3 -pipe -g -g -g -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: Dans la fonction « gimp_composite_addition_rgba8_rgba8_rgba8_mmx »: gimp-composite-mmx.c:96: error: can't find a register in class `GENERAL_REGS' while reloading `asm' gimp-composite-mmx.c:116: error: can't find a register in class `GENERAL_REGS' while reloading `asm' gimp-composite-mmx.c: Hors de toute fonction : gimp-composite-mmx.c:792: attention : `mmx_op_overlay' defined but not used make[3]: *** [gimp-composite-mmx.o] Erreur 1 make[3]: *** Attente des tâches non terminées.... gimp-composite-generic.c: Dans la fonction « gimp_composite_overlay_any_any_any_generic »: gimp-composite-generic.c:766: attention : operation on `tmp' may be undefined gimp-composite-generic.c:766: attention : operation on `tmp' may be undefined make[3]: Leaving directory `/usr/portage/tmp/portage/gimp-1.3.23/work/gimp-1.3.23/app/composite' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/usr/portage/tmp/portage/gimp-1.3.23/work/gimp-1.3.23/app' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/usr/portage/tmp/portage/gimp-1.3.23/work/gimp-1.3.23' make: *** [all] Erreur 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox buildpkg userpriv strict digest" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="-ppc nls gtk -wavelan -freewnn tcpd -sparc -selinux oss -zeo jpeg -3dfx opengl -xosd -matrox -informix -gb ethereal apm -bindist -nocd gdbm cups xv oggvorbis -scanner ncurses -gpm -arts samba java usb -qt -nas pdflib -fbcon flash -snmp mikmod apache2 gif -emacs -afs spell ldap -lirc -junit -fastcgi -gps -pcmcia -maildir -wxwindows -xinerama gtkhtml -pnp ipv6 libwww gtk2 -mcal -memlimit encode libgda gnomedb -oci8 -jack foomaticdb -atlas sdl X berkdb svga -ruby -imap png -firebird ppds -Xaw3d -guile evo truetype gstreamer -odbc xml2 pam gd innodb -ev6 gphoto2 doc -debug python -kerberos -jikes -mbox -lcms -krb4 -dedicated zlib -motif cdr videos slang -kde mysql -voodoo3 -imlib -directfb -static avi -curl -acl -hppa -trusted postgres plotutils -cjk -prelude mpeg -alpha -icc crypt -wmf -arm dvdr esd libg++ -build -leim sse -freetds -tcltk -xface acpi -alsa -canna xml -dga mmx -tetex -ladcca x86 tiff -aalib -mule perl quicktime mad -nocardbus -slp readline -mpi -ggi 3dnow -nhc98 mozilla -cscope gnome ssl -mips dvd -bootstrap -socks5 -dvb -xmms sasl joystick bonobo pda threads snmp tetex"
Happens even with "-mmx" and just "-O" as CFLAGS (no -march=??? -mmx, -3dnow, etc...)
the gimp team sais its probably some problem on the user side with the assembler. Just use USE="-mmx" for this package for now (don't forget it's a devel release & p.mask-ed). If someone cares to find out what the exact problem is and can fix it would be appreciated of course, but we won't spend time on this now.
compilation worked using : USE="-mmx" emerge gimp one question remains : shouldn't the use of the 'sse' USE flag automatically disable the 'mmx' USE flag ? aren't they supposed to be mutually exclusive ?