Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62961 - Gcc 3.4.1 and 3.4.1-r2 fail to patch on 02_all_gcc34-ice-hack.patch.bz2
Summary: Gcc 3.4.1 and 3.4.1-r2 fail to patch on 02_all_gcc34-ice-hack.patch.bz2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-05 19:00 UTC by Drakos7 /Greg Wilson/
Modified: 2004-09-06 09:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch error file (02_all_gcc34-ice-hack.patch.bz2-14632.out,8.25 KB, text/plain)
2004-09-05 19:04 UTC, Drakos7 /Greg Wilson/
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drakos7 /Greg Wilson/ 2004-09-05 19:00:54 UTC
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
Comment 1 Drakos7 /Greg Wilson/ 2004-09-05 19:04:34 UTC
Created attachment 39017 [details]
patch error file
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-09-06 05:27:51 UTC
could you please include the output of "emerge info"?
Comment 3 Drakos7 /Greg Wilson/ 2004-09-06 06:48:28 UTC
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!
Comment 4 Travis Tilley (RETIRED) gentoo-dev 2004-09-06 08:50:37 UTC
my guess is that you didnt copy all of sys-devel/gcc into your overlay.
Comment 5 Drakos7 /Greg Wilson/ 2004-09-06 09:10:36 UTC
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.