On compiling metisse (ebuild 0.3.5 23 Apr 2005 and ebuild 0.3.4) ON PPC (ibook g3) i have this error: if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xserver/mi -I../../xserver/render -I../../xserver/include -I../../xlibs/Xfont/include/X11/fonts/ -I../../xlibs/Xau -I../../xserver/include/X11/Xtrans -mmmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000 -mcpu=750 -O3 -pipe -fsigned-char -mmultiple -mstring -mpowerpc-gfxopt -Wall -MT fbmmx.o -MD -MP -MF ".deps/fbmmx.Tpo" -c -o fbmmx.o fbmmx.c; \ then mv -f ".deps/fbmmx.Tpo" ".deps/fbmmx.Po"; else rm -f ".deps/fbmmx.Tpo"; exit 1; fi cc1: error: invalid option `mmx' make: *** [fbmmx.o] Error 1 I have deleted option -mmmx on AC_FLAGS but i have this error: if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xserver/mi -I../../xserver/render -I../../xserver/include -I../../xlibs/Xfont/include/X11/fonts/ -I../../xlibs/Xau -I../../xserver/include/X11/Xtrans -Winline --param inline-unit-growth=10000 --param large-function-growth=10000 -mcpu=750 -O3 -pipe -fsigned-char -mmultiple -mstring -mpowerpc-gfxopt -Wall -MT fbmmx.o -MD -MP -MF ".deps/fbmmx.Tpo" -c -o fbmmx.o fbmmx.c; \ then mv -f ".deps/fbmmx.Tpo" ".deps/fbmmx.Po"; else rm -f ".deps/fbmmx.Tpo"; exit 1; fi fbmmx.c: In function `shift': fbmmx.c:99: warning: implicit declaration of function `__builtin_ia32_psllq' fbmmx.c:101: warning: implicit declaration of function `__builtin_ia32_psrlq' fbmmx.c: In function `negate': fbmmx.c:109: warning: implicit declaration of function `__builtin_ia32_pxor' fbmmx.c:111: error: can't convert between vector values of different size fbmmx.c: In function `pix_multiply': fbmmx.c:119: warning: implicit declaration of function `__builtin_ia32_pmullw' fbmmx.c:119: error: incompatible types in assignment fbmmx.c:120: warning: implicit declaration of function `__builtin_ia32_paddw' fbmmx.c:120: error: incompatible types in assignment fbmmx.c:121: warning: implicit declaration of function `__builtin_ia32_psrlw' fbmmx.c:121: error: incompatible types in assignment fbmmx.c: In function `expand_alpha': fbmmx.c:170: warning: implicit declaration of function `__builtin_ia32_por' fbmmx.c: In function `invert_colors': fbmmx.c:199: warning: implicit declaration of function `__builtin_ia32_pand' fbmmx.c: In function `over': fbmmx.c:234: warning: implicit declaration of function `__builtin_ia32_paddusb' fbmmx.c:234: error: can't convert between vector values of different size fbmmx.c: In function `over_rev_non_pre': fbmmx.c:241: error: can't convert between vector values of different size fbmmx.c: In function `load8888': fbmmx.c:272: warning: implicit declaration of function `__builtin_ia32_punpcklbw' fbmmx.c:273: error: can't convert between vector values of different size fbmmx.c: In function `pack8888': fbmmx.c:280: warning: implicit declaration of function `__builtin_ia32_packuswb' fbmmx.c:280: error: incompatible types in assignment fbmmx.c: In function `expand565': fbmmx.c:311: error: incompatible types in assignment fbmmx.c:312: error: incompatible types in return fbmmx.c: In function `expand8888': fbmmx.c:319: error: can't convert between vector values of different size fbmmx.c:321: warning: implicit declaration of function `__builtin_ia32_punpckhbw' fbmmx.c:321: error: can't convert between vector values of different size fbmmx.c: In function `pack565': fbmmx.c:351: error: can't convert between vector values of different size make: *** [fbmmx.o] Error 1 And with option -mno-mmx i have this error: if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xserver/mi -I../../xserver/render -I../../xserver/include -I../../xlibs/Xfont/include/X11/fonts/ -I../../xlibs/Xau -I../../xserver/include/X11/Xtrans -mno-mmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000 -mcpu=750 -O3 -pipe -fsigned-char -mmultiple -mstring -mpowerpc-gfxopt -Wall -MT fbmmx.o -MD -MP -MF ".deps/fbmmx.Tpo" -c -o fbmmx.o fbmmx.c; \ then mv -f ".deps/fbmmx.Tpo" ".deps/fbmmx.Po"; else rm -f ".deps/fbmmx.Tpo"; exit 1; fi cc1: error: invalid option `-mno-mmx' make: *** [fbmmx.o] Error 1 My emerge info: Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.10-5-powerpc ppc) ================================================================= System uname: 2.6.10-5-powerpc ppc 750FX Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 30 2005, 19:47:43)] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mmultiple -mstring -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mmultiple -mstring -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ngi.it" LANG="it_IT@euro" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo-rsync.ngi.it/gentoo-portage" USE="X aalib accessibility alsa altivec apm arts artswrappersuid audiofile berkdb bitmap-fonts bluetooth cdparanoia cdr crypt cups dba directfb dvd dvdread emacs emboss encode esd fam fbcon ffmpeg flac fortran gd ggi gif gnutls gpm gstreamer gtk hal icq ieee139 ieee1394 imlib ipv6 jabber jack java javascript jpeg jpeg2k jpg kde kdeenablefinal kig-scripting ldap libcaca libwww lirc logitech-mouse mad mp3 mpeg msn mysql nas ncurses nls nptl ogg oggvorbis opengl orinoco oss pam perl php pic png ppc python qt rdesktop readline rpm samba scanner sdl sndfile snmp ssl tcltk theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vidix vorbis wifi wxwindows xine xinerama xml2 xmms xosd xprint xv xvid yahoo zlib linguas_it" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
I have reproduced the failure, and am working on tracking it down. It looks like the configure script decides whether or not to enable mmx based solely on whether you have gcc >= 3.4, whereas there should at least be flags to manually enable/disable it (in which case the ebuild could set the flag according to whether mmx is in USE).
Created attachment 59094 [details] metisse-0.3.5-r1.ebuild
Created attachment 59096 [details, diff] metisse-0.3.5-mmx-config.patch adds --enable-mmx flag to control whether mmx is enabled
Please try this ebuild and the new patch that disables mmx unless it is in USE flags.
Wormo, if you haven't heard back from the package maintainer yet, I'd go ahead and apply your patch, it works for me.
In CVS, nice work on the fix Wormo. :)