When I try to upgrade gcc either directly or indirectly through other packages it fails during compilation in 'stage1'. I have attached a snippet of the log below. Reproducible: Always Steps to Reproduce: 1. emerge -uv world 2. 3. Actual Results: stage1/xgcc -Bstage1/ -B/usr/alphaev67-unknown-linux-gnu/bin/ -mcpu=ev67 -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o genattrtab \ genattrtab.o genautomata.o \ rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o insn-conditions.o print-rtl1.o errors.o \ varray.o ../libiberty/libiberty.a -lm ./genattrtab /var/tmp/portage/gcc-3.3.3-r3/work/gcc-3.3.3/gcc/config/alpha/alpha.md > tmp-attrtab.c Check description...genattrtab: automaton `ev4_iaddlog' is not declared make[2]: *** [s-attrtab] Error 139 make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r3/work/build/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r3/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.3.3-r3 failed. !!! Function src_compile, Line 517, Exitcode 2 !!! (no error message) Expected Results: It should compile cleanly. Portage 2.0.50-r6 (default-alpha-1.4, gcc-3.3.3, glibc-2.3.2-r1,2.3.3_pre20040207-r0, 2.4.21-alpha-r6) ================================================================= System uname: 2.4.21-alpha-r6 alpha EV67 Gentoo Base System version 1.4.10 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="alpha ~alpha" AUTOCLEAN="yes" CFLAGS="-mcpu=ev67 -O3 -pipe " CHOST="alphaev67-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ev67 -O3 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/my_gentoo" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alpha artswrappersuid avi berkdb crypt cups encode esd ev6 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde ldap libg++ libwww mikmod motif mozilla moznocompose moznoirc ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell ssl tcltk tcpd tiff truetype xinerama xml2 xmms xv zlib"
It compiles without ev67 option, but the compiler does not work well. For example it fails to build perl-5.8.4 (miniperl segfaults) or glib-2.4.1. It should be removed from ~alpha.
The gcc 3.3.3-r3 is no longer in portage. Does this issue still happen with the current stable gcc on your Alpha (gcc-3.4.4-r1)?
I am currently using gcc-3.3.2-r7 (I need to emerge --sync, I haven't in a while) without any problems. Closing this bug.