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

Bug 141564

Summary: glibc wont reemerge on system with gcc-4.1 only
Product: Gentoo Linux Reporter: Stoian Ivanov <sdr>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/config.log

Description Stoian Ivanov 2006-07-24 04:25:06 UTC
root@sdr ~ # eselect compiler list
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-4.1.1/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.1/vanilla
root@sdr ~ # gcc --version
i686-pc-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@sdr ~ # emerge -av glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/glibc-2.4-r3  USE="nls nptl nptlonly -build -glibc-omitfp -hardened -profile" 0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 1) sys-libs/glibc-2.4-r3 to /
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
 * checking glibc-2.4.tar.bz2 ;-) ...                                                                                                                                       [ ok ]
 * checking glibc-ports-2.4.tar.bz2 ;-) ...                                                                                                                                 [ ok ]
 * checking glibc-libidn-2.4.tar.bz2 ;-) ...                                                                                                                                [ ok ]
 * checking glibc-2.4-patches-1.17.tar.bz2 ;-) ...                                                                                                                          [ ok ]
 * checking glibc-linuxthreads-20060605.tar.bz2 ;-) ...                                                                                                                     [ ok ]
 * checking glibc-powerpc-cpu-addon-v0.01.tgz ;-) ...                                                                                                                       [ ok ]
>>> Unpacking source...

 * Checking gcc for __thread support ...                                                                                                                                    [ ok ]
 * Checking kernel version (>=2.6.9) ...                                                                                                                                    [ ok ]
 * Checking linux-headers version (>=2.6.9) ...                                                                                                                             [ ok ]

>>> Unpacking glibc-2.4.tar.bz2 to /var/tmp/portage/glibc-2.4-r3/work
>>> Unpacking glibc-linuxthreads-20060605.tar.bz2 to /var/tmp/portage/glibc-2.4-r3/work/glibc-2.4
>>> Unpacking glibc-libidn-2.4.tar.bz2 to /var/tmp/portage/glibc-2.4-r3/work/glibc-2.4
>>> Unpacking glibc-ports-2.4.tar.bz2 to /var/tmp/portage/glibc-2.4-r3/work/glibc-2.4
>>> Unpacking glibc-powerpc-cpu-addon-v0.01.tgz to /var/tmp/portage/glibc-2.4-r3/work/glibc-2.4
>>> Unpacking glibc-2.4-patches-1.17.tar.bz2 to /var/tmp/portage/glibc-2.4-r3/work
 ..... patching..........
 * Done with patching
 * Using GNU config files from /usr/share/libtool
 *   Updating scripts/config.sub                                                                                                                                            [ ok ]
 *   Updating scripts/config.guess                                                                                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/glibc-2.4-r3/work/glibc-2.4 ...

 *             ABI:   default
 *          CBUILD:   i686-pc-linux-gnu
 *           CHOST:   i686-pc-linux-gnu
 *         CTARGET:   i686-pc-linux-gnu
 *      CBUILD_OPT:
 *     CTARGET_OPT:
 *              CC:
 *          CFLAGS:   -mtune=athlon-xp -pipe -O2

 * Configuring GLIBC for nptl with:
                --disable-stackguard-randomization
                --enable-old-ssp-compat
                --with-tls
                --with-__thread
                --enable-add-ons=ports,nptl,c_stubs,libidn
                --enable-kernel=2.6.9
                --without-selinux
                --without-cvs
                --enable-bind-now
                --build=i686-pc-linux-gnu
                --host=i686-pc-linux-gnu
                --disable-profile
                --without-gd
                --with-headers=/usr/include
                --prefix=/usr
                --libdir=/usr/lib
                --mandir=/usr/share/man
                --infodir=/usr/share/info
                --libexecdir=/usr/lib/misc/glibc

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips
configure: running configure fragment for add-on nptl
configure: running configure fragment for add-on c_stubs
configure: running configure fragment for add-on libidn
checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 ports/sysdeps/unix/sysv/linux nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 ports/sysdeps/unix/sysv nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 ports/sysdeps/unix nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  glibc-2.4-r3.ebuild, line 1179:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 251:   Called glibc_do_configure 'nptl'
  glibc-2.4-r3.ebuild, line 941:   Called die

!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.

root@sdr ~ #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 04:34:56 UTC
> See `config.log' for more details.

Attach the config.log and post emerge --info.
Comment 2 Stoian Ivanov 2006-07-24 04:57:42 UTC
Created attachment 92606 [details]
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/config.log
Comment 3 Stoian Ivanov 2006-07-24 04:59:41 UTC
root@sdr ~ # emerge --info
Portage 2.1.1_pre3-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Sempron(tm) 2500+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -mtune=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="bg_BG"
LC_ALL="bg_BG.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cli crypt cups dbus dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png pppd qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_
Comment 4 Stoian Ivanov 2006-07-24 05:02:20 UTC
this might be relevant: 
------------------------------
root@sdr /home/sdr # gcc -o /dev/null  tst.c
In file included from tst.c:1:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from tst.c:1:
/usr/include/gconv.h:72: error: expected declaration specifiers or 
Comment 5 Stoian Ivanov 2006-07-24 05:02:20 UTC
this might be relevant: 
------------------------------
root@sdr /home/sdr # gcc -o /dev/null  tst.c
In file included from tst.c:1:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from tst.c:1:
/usr/include/gconv.h:72: error: expected declaration specifiers or ... before size_t
/usr/include/gconv.h:88: error: expected declaration specifiers or ... before size_t
/usr/include/gconv.h:97: error: expected declaration specifiers or ... before size_t
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before size_t
In file included from /usr/include/stdio.h:72,
                 from tst.c:1:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/stdio.h:72,
                 from tst.c:1:
/usr/include/libio.h:328: error: expected specifier-qualifier-list before size_t
/usr/include/libio.h:360: error: expected declaration specifiers or ... before size_t
/usr/include/libio.h:369: error: expected declaration specifiers or ... before size_t
/usr/include/libio.h:481: error: expected declaration specifiers or ... before __gnuc_va_list
/usr/include/libio.h:483: error: expected declaration specifiers or ... before __gnuc_va_list
/usr/include/libio.h:485: error: expected =, ,, ;, asm or __attribute__ before _IO_sgetn
In file included from tst.c:1:
/usr/include/stdio.h:312: error: expected declaration specifiers or ... before size_t
/usr/include/stdio.h:319: error: expected declaration specifiers or ... before size_t
/usr/include/stdio.h:347: error: expected declaration specifiers or ... before __gnuc_va_list
/usr/include/stdio.h:352: error: expected declaration specifiers or ... before __gnuc_va_list
/usr/include/stdio.h:355: error: expected declaration specifiers or ... before __gnuc_va_list
/usr/include/stdio.h:361: error: expected declaration specifiers or ... before size_t
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:365: error: expected declaration specifiers or ... before size_t
/usr/include/stdio.h:366: error: expected declaration specifiers or ... before __gnuc_va_list
/usr/include/stdio.h:367: error: format string argument not a string type
/usr/include/stdio.h:614: error: expected =, ,, ;, asm or __attribute__ before fread
/usr/include/stdio.h:620: error: expected =, ,, ;, asm or __attribute__ before fwrite
/usr/include/stdio.h:642: error: expected =, ,, ;, asm or __attribute__ before fread_unlocked
/usr/include/stdio.h:644: error: expected =, ,, ;, asm or __attribute__ before fwrite_unlocked
In file included from tst.c:4:
/usr/include/unistd.h:325: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:331: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:469: error: expected declaration specifiers or ... before size_t
In file included from tst.c:4:
/usr/include/unistd.h:566: error: expected =, ,, ;, asm or __attribute__ before confstr
/usr/include/unistd.h:738: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:774: error: expected declaration specifiers or ... before size_t
In file included from tst.c:4:
/usr/include/unistd.h:842: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:849: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:860: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:862: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:880: error: expected declaration specifiers or ... before size_t
/usr/include/unistd.h:881: error: expected declaration specifiers or ... before size_t
In file included from tst.c:6:
/usr/include/stdlib.h:140: error: expected =, ,, ;, asm or __attribute__ before __ctype_get_mb_cur_max
In file included from tst.c:6:
/usr/include/stdlib.h:455: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:485: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:487: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:589: error: expected ) before __size
/usr/include/stdlib.h:591: error: expected ) before __nmemb
/usr/include/stdlib.h:600: error: expected declaration specifiers or ... before size_t
In file included from /usr/include/stdlib.h:612,
                 from tst.c:6:
/usr/include/alloca.h:33: error: expected ) before __size
In file included from tst.c:6:
/usr/include/stdlib.h:617: error: expected ) before __size
/usr/include/stdlib.h:622: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:622: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:776: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:776: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:777: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:781: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:781: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:782: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:854: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:857: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:861: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:865: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:874: error: expected declaration specifiers or ... before size_t
/usr/include/stdlib.h:877: error: expected ) before * token
/usr/include/stdlib.h:881: error: expected declaration specifiers or ... before wchar_t
/usr/include/stdlib.h:885: error: expected =, ,, ;, asm or __attribute__ before mbstowcs
/usr/include/stdlib.h:888: error: expected =, ,, ;, asm or __attribute__ before wcstombs
In file included from /usr/include/signal.h:348,
                 from tst.c:8:
/usr/include/bits/sigstack.h:54: error: expected specifier-qualifier-list before size_t
root@sdr /home/sdr #                                                                                         
Comment 6 Stoian Ivanov 2006-07-24 05:09:36 UTC
more problems:
----------------------
root@sdr ~ # cat small.c
int main () {
        return 0;
}
root@sdr ~ # gcc -o small small.c
/usr/lib/../i686-pc-linux-gnu/bin/ld: crtbegin.o: No such file: No such file or directory
collect2: ld returned 1 exit status
root@sdr ~ #               
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 05:16:57 UTC
Your gcc looks messed-up, have you tried to re-emerge it?
Comment 8 Stoian Ivanov 2006-07-24 05:21:36 UTC
root@sdr ~ # emerge -a gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.1

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 1) sys-devel/gcc-4.1.1 to /
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
 * checking gcc-4.1.1.tar.bz2 ;-) ...                                                                                                                                       [ ok ]
 * checking gcc-4.1.1-uclibc-patches-1.0.tar.bz2 ;-) ...                                                                                                                    [ ok ]
 * checking gcc-4.1.1-patches-1.6.tar.bz2 ;-) ...                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-4.1.1.tar.bz2 to /var/tmp/portage/gcc-4.1.1/work
>>> Unpacking gcc-4.1.1-patches-1.6.tar.bz2 to /var/tmp/portage/gcc-4.1.1/work
>>> Unpacking gcc-4.1.1-uclibc-patches-1.0.tar.bz2 to /var/tmp/portage/gcc-4.1.1/work
 * Applying Gentoo patches ...

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1 ...
 * CFLAGS="-O2 -mtune=athlon-xp -pipe"
 * CXXFLAGS="-O2 -mtune=athlon-xp -pipe"
 * Configuring gcc ...
 * running gcc-compiler-configure
 * configuring for GCC_LANG: c,c++,fortran

 * PREFIX:          /usr
 * BINPATH:         /usr/i686-pc-linux-gnu/gcc-bin/4.1.1
 * LIBPATH:         /usr/lib/gcc/i686-pc-linux-gnu/4.1.1
 * DATAPATH:        /usr/share/gcc-data/i686-pc-linux-gnu/4.1.1
 * STDCXX_INCDIR:   /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4

 * Configuring GCC with:
        --prefix=/usr
        --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1
        --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include
        --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1
        --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man
        --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info
        --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4
        --host=i686-pc-linux-gnu
        --build=i686-pc-linux-gnu
        --disable-altivec
        --enable-nls
        --without-included-gettext
        --with-system-zlib
        --disable-checking
        --disable-werror
        --disable-libunwind-exceptions
        --disable-multilib
        --disable-libmudflap
        --disable-libssp
        --disable-libgcj
        --enable-languages=c,c++,fortran
        --enable-shared
        --enable-threads=posix
        --enable-__cxa_atexit
        --enable-clocale=gnu

creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -mtune=athlon-xp -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/gcc-4.1.1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 1254:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1466:   Called gcc_do_configure
  toolchain.eclass, line 1266:   Called die

!!! failed to run configure
!!! If you need support, post the topmost build error, and the call stack if relevant.

root@sdr ~ #                                                                                             
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 05:26:31 UTC
Hmmm, time to look around for gcc binpkg, I'd say... ;)
Comment 10 Stoian Ivanov 2006-07-24 05:30:19 UTC
binpkg will do the trick probably but this is DANGEROUS I've managed to b0rk my system by just emerge -C of old sloted gccs ... this is plain wrong 
Comment 11 Stoian Ivanov 2006-07-24 10:14:52 UTC
Binary packages source:

http://e.ututo.org.ar/athlon-xp/index2.html
Comment 12 Stoian Ivanov 2006-07-25 00:22:40 UTC
Problem solved with a binary package and
emerge gcc-4.1 
eselect compiler set gcc-4.1
emerge glibc 
emerge -C gcc-3.X
emerge gcc-4.1
emerge glibc
revedep-rebuild

But I still sugest when emerge -C gcc or glibc is done a quickpkg of the removed package be done so the user has the option to "go back" if something break 
Comment 13 SpanKY gentoo-dev 2006-07-30 10:47:32 UTC

*** This bug has been marked as a duplicate of 130772 ***
Comment 14 Stoian Ivanov 2006-07-31 01:06:50 UTC
outdated!