When updating from perl-5.8.6-r5, perl-5.8.7-r3 fails with this error: .o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o `sh cflags "optimize='-O2 -march=athlon-xp -msse2 -pipe'" opmini.o` -fPIC -DPERL_EXTERNAL_GLOB opmini.c CCCMD = i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=athlon-xp -msse2 -pipe -Wall i686-pc-linux-gnu-gcc -L/usr/local/lib -o miniperl \ miniperlmain.o opmini.o libperl.a -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest /bin/sh: line 1: 11822 Illegal instruction ./miniperl -w -Ilib -MExporter -e '<?>' make[1]: Entering directory `/var/tmp/portage/perl-5.8.7-r3/work/perl-5.8.7' cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm make[2]: Entering directory `/var/tmp/portage/perl-5.8.7-r3/work/perl-5.8.7' ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl configpm.tmp make[2]: *** [lib/Config.pm] Illegal instruction make[2]: Leaving directory `/var/tmp/portage/perl-5.8.7-r3/work/perl-5.8.7' make[1]: [minitest.prep] Error 2 (ignored) You may see some irrelevant test failures if you have been unable to build lib/Config.pm, lib/lib.pm or the Unicode data files. cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \ && ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty /bin/sh: line 1: 11841 Illegal instruction ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty make[1]: [minitest] Error 132 (ignored) make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7-r3/work/perl-5.8.7' make: [extra.pods] Error 1 (ignored) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl configpm.tmp make: *** [lib/Config.pm] Illegal instruction + diefunc src_compile 268 2 'Unable to make' + local funcname=src_compile lineno=268 exitcode=2 + shift 3 + echo + echo '!!! ERROR: dev-lang/perl-5.8.7-r3 failed.' !!! ERROR: dev-lang/perl-5.8.7-r3 failed. + echo '!!! Function src_compile, Line 268, Exitcode 2' !!! Function src_compile, Line 268, Exitcode 2 + echo '!!! Unable to make' !!! Unable to make + echo '!!! If you need support, post the topmost build error, NOT this status message.' !!! If you need support, post the topmost build error, NOT this status message. + echo + exit 1 (chroot) livecd / # ------------------------------------------------------------------------------- Here are the use flags: +berkdb -build -debug -doc +gdbm -ithreads -minimal -perlsuid ------------------------------------------------------------------------------- Here is make.conf: CFLAGS="-Os -march=athlon-xp -msse2 -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" AUTOCLEAN="yes" MAKEOPTS="-j2" USE="3dnow aac aim -arts bmp cdparanoia cdr dvd dvdr dvdread esd fbcon ffmpeg flac ftp gphoto2 gnome gtk gtk2 gpm -ipv6 -kde mad mmx mozilla offensive pdf -qt samba socks5 ssl svg theora usb verbose win32codecs xmms zlib"
emerge --info, please...
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Sempron(tm) 2500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 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.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -msse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox 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.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow X aac aim alsa apm avi berkdb bitmap-fonts bmp bzip2 cdparanoia cdr crypt cups dvd dvdr dvdread eds emboss encode esd expat fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls offensive ogg oggvorbis opengl oss pam pdf pdflib perl png python quicktime readline samba sdl socks5 spell ssl svg tcpd theora truetype truetype-fonts type1-fonts udev usb verbose vorbis win32codecs xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Remove -msse2 from your C[XX]FLAGS.