Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72555 - bootstrap.sh failes to emerge glibc (configure-time error) due to gcc(-config) problem
Summary: bootstrap.sh failes to emerge glibc (configure-time error) due to gcc(-config...
Status: RESOLVED DUPLICATE of bug 72557
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-26 08:07 UTC by nefercheprure
Modified: 2005-07-17 13:06 UTC (History)
1 user (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 nefercheprure 2004-11-26 08:07:15 UTC
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)
Comment 1 nefercheprure 2004-11-26 10:26:41 UTC
reproducible: always  after the failure gcc-config -c reports:  * /usr/bin/gcc-config: No default profile setup!
Comment 2 Peter Beutner 2004-11-26 12:27:07 UTC
can confirm that.
take a look at bug #72557.Think thats the reason for this bug.
Comment 3 SpanKY gentoo-dev 2004-11-28 20:19:01 UTC

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