I'm experiencing strange problems when trying to run getmail and pysol (both are python applications)... I always get the following message: OverflowError: float too large to convert The problem in getmail can be solved by replacing all "int" keywords by "long" and the same could be possibly applied on the pysol app but I have absolutely no skills with python and it looks like a stupid solution anyway... Recompiling getmail, pysol and python didn't help... :-( python-2.2.2 getmail-2.3.8 pysol-4.81-r1 Ask me for more if you need to do so... Radek Reproducible: Always Steps to Reproduce: Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 apm avi cups encode gif jpeg gnome libg++ mmx mpeg ncurses png truetype xml2 xv zlib directfb gtkhtml readline tetex aalib nas bonobo ggi java guile X sdl libwww ssl perl esd imlib oggvorbis gtk qt kde opengl gphoto2 ldap -3dnow ac pi alsa -arts -berkdb cdr -crypt dga dvd flash -gdbm -gpm gtk2 ipv6 maildir mbox -mikmod -motif mozilla -nls -oss -pam -pdflib -python -quicktime samba scanner -slang -spell sse -svga tcltk -tcpd tiff usb -xmms" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j6" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc"
I think it's worth trying to recompile those packages with -march=pentium3, maybe this is one of the few cases in which the "don't use -march=pentium4 with gcc 3.2.2" advice from make.conf does make sense.
I'm sorry then... The "Pentium4 notice" should be elsewhere. In a place where a normal user can see it. etc-update merges comment lines automatically so I even couldn't notice it... :-( I've recompiled all the mentioned packages and the stupid getmail hack isn't needed anymore, but now, pysol ends up with a "division by zero" error ("integer division or modulo by zero"), I'll investigate it later (looks like pysol bug now)... UPDATE: When writing the above lines, I tried to run pysol once more and the previous "OverflowError: float too large to convert" error occured again! I'm really confused now, pysol and python are both compiled with -march=pentium3 :-( Looks like I'll have to recompile world with the new pentium3 setting... :-( Radek P.S.: Anyway, why is the pentium4 flag forbidden? Is it official gcc 3.2.2 issue or just "internal" Gentoo experience?
I'm not a developer, so don't trust me too much ;-), you can find more info on this thread: http://forums.gentoo.org/viewtopic.php?t=43373&highlight=pentium4 according to that, you should recompile your glibc
Recompiling glibc with pentium3 solved the problem and since the "pentium4" bug is already submitted, I think you can close this bug... :-) Sincerely... Radek
pentium4 flag == bad news for glibc; use pentium3
*** Bug 24647 has been marked as a duplicate of this bug. ***