all seems well until make-target-2.sh gets executed: //entering make-target-2.sh //doing warm init make-target-2.sh: line 99: 24787 Illegal instruction ./src/runtime/sbcl --core output/cold-sbcl.core --sysinit /dev/null --userinit /dev/null <<-'EOF' Reproducible: Always Steps to Reproduce: 1. echo "=dev-lisp/sbcl-0.9.2 ~ppc" >> /etc/portage/package.keywords 2. emerge sbcl 3. emerge fails Actual Results: emerge of sbcl-0.9.2 fails Expected Results: emerge of sbcl-0.9.2 succeeds Portage 2.0.51.22-r1 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-ck2 ppc) ================================================================= System uname: 2.6.12-ck2 ppc 7447A, altivec supported Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.90.0.3-r5 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_GB.utf8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X alsa altivec berkdb bitmap-fonts crypt cups curl dlloader dvd dvdread eds emboss esd fam fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libwww mad motif mozilla mp3 mpeg ncurses network nls ogg oggvorbis opengl pam pdflib perl png python qt readline slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
This is probably a long shot, but does the outcome change if you replace your CFLAGS with just CFLAGS="-pipe"? Failing that, SBCL 0.9.3 will be in the tree shortly so we can try to reproduce it against that as well.
CFLAGS="-pipe" emerge =dev-lisp/sbcl-0.9.2 Result: //entering make-target-2.sh //doing warm init make-target-2.sh: line 99: 7412 Illegal instruction ./src/runtime/sbcl --core output/cold-sbcl.core --sysinit /dev/null --userinit /dev/null <<-'EOF'
Could you please try sbcl 0.9.4 which has just been placed in portage?
Someone else confirmed that sbcl-0.9.4 builds on ppc.