While gcc-3.3.3-r5 has been build without any problems, the r6 version doesnt like to: gcc -O -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/config -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/../include \ -DPREFIX=\"/usr\" \ -c /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/prefix.c -o prefix.o gcc -c -O -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/config -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/../include /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/mbchar.c -o mbchar.o rm -rf libcpp.a ar rc libcpp.a cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o ranlib libcpp.a make[2]: *** No rule to make target `main.c', needed by `main.o'. Stop. make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.3.3-r6 failed. !!! Function src_compile, Line 568, Exitcode 2 !!! (no error message) Further Informations about the system: # emerge info Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3.20040420-r0, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt cups encode foomaticdb gd gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
rare freaky bug... emerge rsync ; clean your cache ; can your /var/tmp/portage/gcc* and try again.. We have hundreds of people that have built this gcc version fine.
can you remove the -march=athlon and change the -O 3 to -O 2, then change the MAKEOPTS to -j 1 please and report back? thanks, Alex
Im gonna try this as soon as I get near the machine. This will be by the middle of next week. Thanks for your help by now.
Ok! Now it worked. (Using -O2 and -j1) Seems as if the Duron on that machine has problems with bigger optimizations.