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

Bug 83533

Summary: gcc 3.3.5 fails to emerge
Product: Gentoo Linux Reporter: Stefan Floering <stefan>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Floering 2005-02-28 02:32:08 UTC
emerge gcc fails with the following output:


/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/libiberty/regex.c:8227: warning: function `free' was previously declared within a block
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/libiberty'
make: *** [all-libiberty] Error 2


emerge info gives the following output:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 07:40:35)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer  -frename-registers -fprefetch-loop-arrays -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer  -frename-registers -fprefetch-loop-arrays -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/  ftp://gentoo.inode.at/source/ ftp://ftp.easynet.nl/mirror/gentoo/  ftp://david:mspy134@192.168.0.7/dist1 ftp://david:mspy134@192.168.0.7/dist2"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts avi berkdb bitmap-fonts cdr crypt cups curl dvd emboss encode f77 fam flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svg svga tcpd tetex tiff truetype truetype-fonts type1-fonts usb wifi wmf xine xinerama xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


History: I tried to switch to gcc 3.4.x but encountered problems. After I switched back (processing all steps backwards) I got the error above.

Reproducible: Always
Steps to Reproduce:
1. emerge gcc
2.
3.



Expected Results:  
emerged gcc 3.5.3 with deps

running emerge from XTerm (XOrg with KDE 3.3) on Kernel 2.6.10-r
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-28 02:37:14 UTC

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