While trying to emerge dev-lang/icon-9.40 I ran into the following problem cd config/unix; make Setup-NoGraphics name=intel_linux cp intel_linux/define.h ../../src/h cp intel_linux/rswitch.[cs] ../../src/common cp intel_linux/Makedefs ../.. echo '' >> ../../Makedefs if [ -f intel_linux/custom.sh ]; then cd intel_linux; sh custom.sh; fi echo '# Graphics not enabled' >> ../../Makedefs cd src/common; make gcc -O2 -pipe -o doincl doincl.c ./doincl -o ../../bin/rt.h ../h/rt.h gcc -O2 -pipe -o patchstr patchstr.c cp patchstr ../../bin gcc -O2 -pipe -c -o long.o long.c gcc -O2 -pipe -c -o getopt.o getopt.c gcc -O2 -pipe -c -o time.o time.c gcc -O2 -pipe -c -o filepart.o filepart.c gcc -O2 -pipe -c -o identify.o identify.c gcc -O2 -pipe -c -o strtbl.o strtbl.c gcc -O2 -pipe -c -o rtdb.o rtdb.c gcc -O2 -pipe -c -o munix.o munix.c gcc -O2 -pipe -c -o literals.o literals.c gcc -c rswitch.[cs] rswitch.s:8:Spurious digit 1. rswitch.s:20:Invalid mnemonic 'pushl' rswitch.s:21:Invalid mnemonic 'movl' rswitch.s:22:Invalid mnemonic 'movl' rswitch.s:23:Invalid mnemonic 'movl' rswitch.s:24:Invalid mnemonic 'movl' rswitch.s:25:Invalid mnemonic 'movl' rswitch.s:26:Parameter syntax error rswitch.s:27:Invalid mnemonic 'movl' rswitch.s:28:Invalid mnemonic 'je' rswitch.s:30:Invalid mnemonic 'movl' rswitch.s:31:Parameter syntax error (parameter 1) rswitch.s:34:Invalid mnemonic 'movl' rswitch.s:35:Invalid mnemonic 'pushl' rswitch.s:36:Invalid mnemonic 'pushl' rswitch.s:37:Invalid mnemonic 'call' rswitch.s:38:Invalid mnemonic 'pushl' rswitch.s:39:Invalid mnemonic 'call' rswitch.s:40:Invalid mnemonic 'addl' rswitch.s:43:Invalid mnemonic 'leave' rswitch.s:44:Invalid mnemonic 'ret' make[1]: *** [rswitch.o] Error 1 make: *** [Common] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) =============================================================== == System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin8" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin8" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/ share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tetex tiff vorbis userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
How surpringly it may sound, 9.4.2 is the newest in portage. (http://www.cs.arizona.edu/icon/), the Changelog file also confirms this. Marked 9.4.2 ~ppc-macos as it has the correct profile which is now selected correctly in the ebuild. I almost fixed all issues with 9.40 but since the issues are solved in 9.4.2 I won't fix them.