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

Bug 100028

Summary: building with gcc2 from stage1 fails
Product: Gentoo Linux Reporter: Pascal de Bruijn <pmjdebruijn>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: blocker CC: azarah
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pascal de Bruijn 2005-07-23 06:44:43 UTC
I have an older system, where I really need the extra compile speed gcc2 provides.

So I build my system using the gcc2 build profile. Along the way I bumped into
several issues...

First, the gcc-2.95.3-r9 ebuild is broken when built from stage1 because it
needs autoconf, where isn't there. I used the older r8 ebuild, and it worked
just fine!

Second, when using the gcc2 profile out of the box (using glibc 2.2.5-r10),
libsandbox would complain it needed GLIBC_2.3

Third, when changing the glibc in the gcc2 profile to glibc 2.3.5, the glibc
build process would complain, glibc 2.3.5 needs a newer gcc then 2.95.


Reproducible: Always
Steps to Reproduce:




The easiest way to resolve these issues would probably be to downgrade
gcc-2.95.3-r9 to r8 and the force the use of an older libsandbox, but when did
the GLIBC_2.3 dependancy come into play?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-23 06:53:02 UTC
What stage did you use, as an old gcc2 stage1 should not have glibc_2.3 issues ...
Comment 2 Pascal de Bruijn 2005-07-23 07:03:18 UTC
I used this one:
ftp://ftp.nluug.nl/pub/os/Linux/distr/gentoo/releases/x86/2005.0/stages/x86/stage1-x86-2005.0.tar.bz2

Anyway the oldest stages I can find are from 2004.0, and those are probably with
gcc 3.2.3.

Is the glibc 2.3.5 dependancy really needed for libsandbox? Isn't it possible to
do a stage1 without libsandbox?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-23 07:16:00 UTC
Yeah, you cannot use those stage .. they with gcc-3.3.x.  If you really want to
try, add '-sandbox' to FEATURES, and rebuild sandbox against glibc-2.2.5.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-28 03:47:02 UTC
@azarah: CANTFIX?
Comment 5 Pascal de Bruijn 2005-07-28 07:54:10 UTC
Hmm probably...

When I tried using -sandbox, the build process went fine, until I stumbled upon
an error, which after some googling had something to do with glibc 2.3.x being
backward incompatible with glibc 2.2.x. So this was a no go!

Then I found a historical stage1 tarball, but on this tarball, I couldn't get
portage properly running, because it was too much out of date. (Yes, I tried
emerge portage itself first, but that wouldn't work either).

So I finally gave up...

So, CANTFIX would probably be very appropriate!

Anyway thanks for the suggestions.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-01 07:00:04 UTC
Somebody with a gcc2 box that is fairly up to date, and catalyst knowledge needs
to build some stages I guess :/