during bootstrap it is impossible to emerge glibc, because gcc produced in bootstrap cannot be used. emerging gcc is successful (the bootstrapping continues), yet the gcc instaled does not work: /usr/lib/gcc-lib/$CHOST/$gcc_version ceases to exist. the aforementioned inexistence prevents gcc-config to switch to the gcc profile just compiled, with warning: /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3 gcc -dumpversion prints 3.4.3 as expected, but only after running gcc-config manually Reproducible: Didn't try Steps to Reproduce: 1. unpack stage1 from 2004.3 universal cd 2. emerge-webrsync equivalent (wget + tar xjpf ), change profile to gcc34-x86-2004.2, tweak /etc/make.profile/virtuals to use 2.6 kernel headers, and vim as virtual/editor 3. bootstrap.sh -f 4. rm /var/run/boot* 5. bootstrap.sh 6. ... wait ... 7. ... error ... Actual Results: configuring glibc fails, because configure is unable to find out the extension of object files. short excerpt: gcc-config error: Could not run/locate "gcc" gcc-config error: Could not run/locate "gcc" /usr/lib/portage/bin/ebuild.sh: line 105: [: : integer expression expected nls x86 x86 * Configuring GLIBC... ... checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile ... Expected Results: bootstrapped system into stage2 unable to paste into live-cd's links CHOST=i686-pc-linux-gnu Headers: sys-kernel/linux26-headers-2.6.8.1 CFLAGS=-O3 -march=pentium4 -mcpu=pentium3 -fomit-frame-pointer otherwise defaults as obtained from 2004.3 live-cd (universal)
reproducible: always after the failure gcc-config -c reports: * /usr/bin/gcc-config: No default profile setup!
can confirm that. take a look at bug #72557.Think thats the reason for this bug.
*** This bug has been marked as a duplicate of 72557 ***