$ revdep-rebuild <failure output in attached revdep.log> $ emerge dev-python/PyOpenGL <failure output in attached fail.log> From bug 20835 I was asked to run revdep-rebuild so I did but when compiling packages there were errors. dev-python/PyOpenGL-2.0.0.44 is the first package on the list that fails to emerge. The relevant portion of the failure is given below. error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/PyOpenGL-2.0.0.44 failed. !!! Function src_compile, Line 42, Exitcode 1 !!! (no error message) $ emerge info Portage 2.0.48_pre5 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GENTOO_MIRRORS="http://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/shar e/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="" USE="x86 3dnow avi cups encode gif jpeg mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa slang readline aalib svga java X sdl tcpd pam libwww ssl python imlib oggvorbis gtk motif opengl mozilla cdr acpi acpi4linux dvd fbcon gtk2 imap maildir moznocompose moznoirc moznomail moznoxft mozsvg sse tiff usb xml -oss -apm -crypt -libg++ -mikmod -nls -spell - gtkhtml -gdbm -berkdb -arts -tetex -bonobo -tcltk -guile -gpm -perl -esd - gnome -qt -kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays - falign-functions=4 -funroll-loops -ffast-math -fforce-addr" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop- arrays -falign-functions=4 -funroll-loops -ffast-math -fforce-addr" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j5" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Created attachment 11826 [details] revdep.log
Created attachment 11827 [details] fail.log
Hello. Could this be a pentium4 bug do you think? If so, what should I rebuild if I change my cflags to pentium3? Thanks.
This bug can definitely be closed now. My solution was to change CFLAGS from march pentium4 to march pentium3 and rebuild my system by doing emerge -e world. All python packages and revdep-rebuild work perfectly now. So it seems I'm forced to obey the advice of downgrading of cflags until gcc is upgraded on portage. Many thanks and apologies for the inconvenience.
Closing as requested wrong CFLAGS issued this