While emerging sys-libs/glibc-2.3.5-r1 I noticed that GLIBC was being built with -mtune=pentium3 instead of -march=pentium-m. I looked at the ebuild and found if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] ; then # broken in 3.4.x replace-flags -march=pentium-m -mtune=pentium3 fi I am wondering whether this is still true with GCC 3.4.4 as I remember a similar problem with xorg-x11 and GCC 3.4 that was solved by GCC 3.4.4 and the xorg-x11 ebuild has been changed since. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.6.13 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages sandbox sfperms sign strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd dvdr dvdread emboss encode esd fame firefox font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg libg++ libwww lzo mad mikmod mjpeg mmx mono moznocompose moznoirc moznomail mp3 mpeg ncurses nls nomotif nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline samba slang spell sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs xml2 xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
why not test it and report back
I built sys-libs/glibc-2.3.5-r1 with -march=pentium-m by removing the lines (see above) from the ebuild. My system works as stable as before.
done, thanks