Might be related to bug #122697, but this is on an Athlon system (which was tested OK in the other bug) and during test phase instead of at runtime, so I'm filing a new bug. [...] creating t-modlinv make[3]: Leaving directory `/var/tmp/portage/portage/gmp-4.1.4-r3/work/gmp-4.1.4/tests' make check-TESTS make[3]: Entering directory `/var/tmp/portage/portage/gmp-4.1.4-r3/work/gmp-4.1.4/tests' /bin/sh: line 1: 28365 Illegal instruction ${dir}$tst FAIL: t-bswap PASS: t-constants /bin/sh: line 1: 28409 Illegal instruction ${dir}$tst FAIL: t-count_zeros PASS: t-gmpmax /bin/sh: line 1: 28453 Illegal instruction ${dir}$tst FAIL: t-modlinv =================== 3 of 5 tests failed =================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/var/tmp/portage/portage/gmp-4.1.4-r3/work/gmp-4.1.4/tests' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/portage/gmp-4.1.4-r3/work/gmp-4.1.4/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/portage/gmp-4.1.4-r3/work/gmp-4.1.4/tests' make: *** [check-recursive] Error 1 !!! ERROR: dev-libs/gmp-4.1.4-r3 failed. !!! Function src_test, Line 576, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. root@cube:~# emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.11.6-infra-cube-1 i686) ================================================================= System uname: 2.6.11.6-infra-cube-1 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.14 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" LANG="en_US" LINGUAS="en,de" MAKEOPTS="-j10 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-local--main--1.0" SYNC="rsync://copper.sascha.silbe.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X a52 aac accessibility acl afs alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdb cdparanoia cdr chipcard cjk crypt css curl doc dts dv dvd dvdr dvdread ecc emboss encode examples exif expat fam fame ffmpeg fits flac foomaticdb fortran gd gdbm geldkarte geos gif gimpprint glut gmp gs gstreamer gtk gtk2 gtkhtml guile hbci hdf idn imagemagick imap imlib ipv6 jabber jpeg jpeg2k lapack lcms libg++ libwww lm_sensors lua lvm1 lzo mad maildir mailwrapper makecheck mbox mikmod mjpeg mmx mmxext mng monitor mozsvg mp3 mpeg mysql nas ncurses netcdf nls nodrm offensive ogdi ogg oggvorbis openal opengl oss pam pcre pda pdflib plotutils png postgres python qt qtmt quicktime readline recode samba scanner sdl serial skey smartcard speex spell sqlite sse ssl svg sysfs test tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs wmf xine xml xml2 xv xvid yv12 zlib linguas_en,de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS root@cube:~#
Once again, reopen if you are able to reproduce it with gcc-3.4.4-r1