While following the gcc upgrade guide and choosing the emerge -e system -> emerge -e world, gcc 3.4.4-r1 fails with the folling error. /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f/bld.c:235: note: file f/bld.gcda not found, execution counts assumed to be zero stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/ -c -O2 -fprofile-use -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -If -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f/com.c -o f/com.o /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f/com.c: In function `ffecom_3': /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f/com.c:9929: note: file f/com.gcda not found, execution counts assumed to be zero /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f/com.c: In function `ffecom_expr_intrinsic_': /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/f/com.c:5413: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [f/com.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make[1]: *** [stagefeedback_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.4-r1 failed. !!! Function gcc_do_make, Line 1339, Exitcode 2 !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, NOT this status message. I have tried numberous times to recompile using emerge -e world --resume and always get the same result. Below is emerge --info: Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11-gentoo-r3 i586) ================================================================= System uname: 2.6.11-gentoo-r3 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.6.14 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="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i386-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="-O2 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hardenedphp imlib ipv6 jpeg kde libg++ libwww mad mhash mikmod motif mp3 mpeg mysql ncurses nls no-htdocs ogg oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis x86 xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
(In reply to comment #0) > System uname: 2.6.11-gentoo-r3 i586 AMD-K6(tm) 3D processor > CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" Guess what's wrong here...
Thank you very much. I've always had it set as -mcpu=i386. It must have gotten mixed up in some dispatch-conf changes. I'm by no means a programmer, as this is my first bug post. I do appreciate your help. I'll change this and try again.