Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 74095

Summary: gcc-3.3.5-r1 fails to compile - failed patch for PIC
Product: Gentoo Linux Reporter: Daniel Seyffer <gentoo-bugs>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.3   
Hardware: Sparc   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch output

Description Daniel Seyffer 2004-12-11 06:13:03 UTC
Hi,

trying to upgrade my U5 to gcc-3.5.5-r1 using hardened. But a patch fails to apply. 

Reproducible: Always
Steps to Reproduce:


Actual Results:  
emerge -u gcc

[...]
 * Done with patching
 * Applying protector.dif ...                                                  
                    [ ok ]
 * Applying pro-police-docs.patch ...                                          
                    [ ok ]
 * Updating gcc to use SSP from libc ...
 * Applying various patches (bugfixes/updates) ...
 *   00_all_gcc-3.3.5-rs6000-pic.patch.bz2 ...                                 
                    [ ok ]
 *   00_all_gcc-3.3.5-v8.7.6.8-sparc-pic.patch.bz2 ...

 * Failed Patch: 00_all_gcc-3.3.5-v8.7.6.8-sparc-pic.patch.bz2!
 *
 * Include in your bugreport the contents of:
 *
 *  
/daten/tmp/portage/gcc-3.3.5-r1/temp/00_all_gcc-3.3.5-v8.7.6.8-sparc-pic.patch.bz2-15059.out


!!! ERROR: sys-devel/gcc-3.3.5-r1 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: 00_all_gcc-3.3.5-v8.7.6.8-sparc-pic.patch.bz2!
!!! If you need support, post the topmost build error, NOT this status message.




# uname -a
Linux herakles 2.6.7 #10 Sat Aug 21 16:07:11 CEST 2004 sparc64 sun4u TI
UltraSparc IIi (Sabre) GNU/Linux


# emerge info
Portage 2.0.51-r8 (default-linux/sparc/sparc64/2004.3, gcc-3.3.4,
glibc-2.3.3.20040420-r2, 2.6.7 sparc64)
=================================================================
System uname: 2.6.7 sparc64 sun4u
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jul 30 2004, 13:42:13)]
distcc 2.18.2 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.3, 1.7.9, 1.5, 1.6.3, 1.8.5-r2, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.23
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -Os -pipe -fstack-protector -fomit-frame-pointer"
CHOST="sparc-unknown-linux-gnu"
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="-mcpu=ultrasparc -Os -pipe -fstack-protector -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/daten/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts avi berkdb bitmap-fonts bzlib cdr crypt cups dga
encode erandom esd f77 fam fbcon flac foomaticdb fortran freetype gcc64 gdbm gif
gnome gpm gtk gtk2 hardened icq imagemagick imap imlib java jpeg libwww mad
maildir mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl
pie png python qt quicktime readline sdl slang spell ssl tcpd tiff truetype
userlocales xml2 xmms xv zlib linguas_de"
Comment 1 Daniel Seyffer 2004-12-11 06:14:29 UTC
Created attachment 45737 [details]
Patch output
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2004-12-11 13:01:14 UTC
we should get the patchset files named right, but to get you going immediately, try:



LANG=C emerge =sys-devel/gcc-3.3.5-r1
Comment 3 SpanKY gentoo-dev 2004-12-12 00:58:41 UTC

*** This bug has been marked as a duplicate of 72665 ***