Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31049 - ERROR: sys-devel/gcc-3.2.3-r2 failed. while doing update system
Summary: ERROR: sys-devel/gcc-3.2.3-r2 failed. while doing update system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
: 31818 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-13 09:43 UTC by scott
Modified: 2003-12-07 17:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scott 2003-10-13 09:43:28 UTC
!!! ERROR: sys-devel/gcc-3.2.3-r2 failed.
!!! Function src_compile, Line 371, Exitcode 2
!!! (no error message)

I get this when doing emerge -u system.  I've upgraded portage with emerge 
sync.  I've also upgraded the portage binary with emerge -u portage.  Further 
up I notice:

/var/tmp/portage/gcc-3.2.3-r2/work/build/i586-pc-linux-gnu/libstdc++-
v3/include/bits/stl_
alloc.h:517: Internal
   compiler error in pop_binding, at cp/decl.c:1178
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [codecvt.lo] Error 1


Reproducible: Always
Steps to Reproduce:
1. sudo emerge sync
2. sudo emerge -u portage (replace conf files if instructed)
3. sudo emerge -u system

This also fails if I do update world since it does update system first.  I 
tried anyway though.
Actual Results:  
It starts compiling gcc and then gives that error after a while.

Expected Results:  
Continued updating system I would guess....

[romracer@scratchy] romracer$ sudo emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-
r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=k6-2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=k6-2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo 
http://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 apm avi crypt cups encode gif gpm imlib jpeg libg++ libwww mad motif 
mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl slang spell svga 
truetype xml2 xmms xv zlib gdbm berkdb readline X tcpd pam ssl python -oss -
arts -foomaticdb -gtk -kde -gnome -mikmod -opengl 3dnow acpi perl tcltk mysql 
kerberos"
Comment 1 Daniel Mettler 2003-10-14 14:32:40 UTC
i don't know whether my problem is related, but i'm using gcc-3.2.3-r1 and
it fails to compile almost any ebuild (reproducible, tested with kernel 2.4.22
and 2.6.0-test7). it also fails to compile gcc-3.2.3-r2, so i'm stuck now!
what can i do? any work-around/quickfix? help greatly appreciated.

for me, this bug is definitely a *blocker*.
Comment 2 Daniel Mettler 2003-10-16 05:53:46 UTC
the reason for my problem: kernel 2.6.0-test7 was broken (see thread http://www.ussg.iu.edu/hypermail/linux/kernel/0310.1/1748.html)

currently i'm emerging gcc with 2.4.22 again and so far it works (must have
been bad luck when i tested it with 2.4.22 and it didn't work)

sorry for bothering.
Comment 3 Joshua Kinard gentoo-dev 2003-10-23 00:26:18 UTC
Scott: Please try gcc-3.2.3-r2, or a newer gcc, like gcc-3.3.2 and see if
this is still a problem for you.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 17:33:01 UTC
seems to be fixed
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 17:36:24 UTC
*** Bug 31818 has been marked as a duplicate of this bug. ***