While emerging gcc 3.4.1 or 3.4.1-r2 a lot of patches take place but the system consistantly chokes at 02_all_gcc34-ice-hack.patch.bz2 as follows. The failed outfile is attached separately. * Applying various patches (bugfixes/updates)... * 02_all_gcc34-ice-hack.patch.bz2... * Failed Patch: 02_all_gcc34-ice-hack.patch.bz2! * * Include in your bugreport the contents of: * * /var/tmp/portage/gcc-3.4.1-r2/temp/02_all_gcc34-ice-hack.patch.bz2-14632.out !!! ERROR: sys-devel/gcc-3.4.1-r2 failed. !!! Function epatch, Line 362, Exitcode 0 !!! Failed Patch: 02_all_gcc34-ice-hack.patch.bz2! Reproducible: Always Steps to Reproduce: 1. emerge =gcc-3.4.1-r2 Actual Results: patch failed. Expected Results: patch succeed Tried with CFLAGS="-O1 -pipe -fomit-frame-pointer" CFLAGS="-O2 -march=athlon-xp -fprefetch-loop-arrays -ftracer -pipe -fomit-frame-pointer" and more aggressive optimizations
Created attachment 39017 [details] patch error file
could you please include the output of "emerge info"?
Here you go. I emptied the CFLAGS. Note: this is now gcc-3.3.4 which is apparently messed up on this system. Still a patch error though. My original post was with gcc-3.3.3 >emerge info Portage 2.0.50-r10 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r14) ================================================================= System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 146 Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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 -march=athlon-xp -fprefetch-loop-arrays -ftracer -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.eliteitminds.com http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu http://chod.cwru.edu/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" USE="X acpi alsa amd64 avi berkdb cdr crypt dvd encode esd foomaticdb gdbm gif gnome gpg gpm gtk gtk2 imlib jpeg kerberos libg++ libwww mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd tiff truetype usb xml2 xmms xosd xv zlib" Interesting. Now it is botching at: !!! ERROR: sys-devel/gcc-3.4.1-r2 failed. !!! Function epatch, Line 389, Exitcode 0 !!! Failed Patch: 02_all_gcc34-ice-hack.patch.bz2!
my guess is that you didnt copy all of sys-devel/gcc into your overlay.
My stupidity (or rater, ignorance). I did not 'cp -R files/' to the overlay. Sorry to clog the system and thank you for the help.