Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Wrong build order for: linux headers + binutils + gcc + glibc

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew Stitt <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Wrong build order for: linux headers + binutils + gcc + glibc
  • Date: Sun, 19 Nov 2006 10:45:26 -0800


On Sun, Nov 19, 2006 at 12:52:00AM -0300, Ismael Luceno wrote:
> I got to the conclusion that the current build order for binutils, gcc,
> and glibc, is wrong in the case where you want to rebuild the system
> with a different version of either of these.
>
> I will not explain the problem, because it's somewhat obvious, and
> very long to explain in deep.
>
> The correct build order is:
> 1) Linux headers
> 2) binutils
> 4) gcc (static)
> 5) glibc
> 6) gcc
> 7) binutils
>
> I'm new to SourceMage (a few days), so I'm not sure if that can be
> achieved automatically with sorcery, but surely easy to implement.
>

As was pointed out by Seth, you do need to explain yourself. I think its a
better form of collaboration. Hypothetically if someone really is correct
then they should be able to support that with more tangible information.
Its certainly makes us no worse off.

Also, we have a certain design philosophy in this distro of minimalism and
simplicity. We're not in the business of tailoring things precisely to
one idea of correctness. Every user knows whats best for *their*
installation. Its my understanding of this philosophy that we (as a
distro) aren't going to force anything on them. Put another way, we
aren't in the business of preventing people from doing certain things
by forcing certain behaviors on them.

This discussion comes up every few months with a different idea of what
the "right" basesystem build order is. Yours may very well be correct
for your particular application. I suspect you've been involved with LFS
and look at it from that perspective. However that order may not be
correct or desirable for others in all cases. Everything in basesystem
arguably depends on nearly everything else in basesystem. The answer
is always the same though. Just cast the first 7 things the way you
want, then do your rebuild. (Likewise, I do my own custom steps before
a rebuild). There are more elaborate things you could do, such as making
a custom spell for your bootstrap components. There might be a sorcery
enhancement in here somewhere, if there is, it hasn't been expressed
generally enough.

-Andrew

--
_________________________________________________________________________
| Andrew D. Stitt | acedit at armory.com | astitt at sourcemage.org |
| irc: afrayedknot | Sorcery Team Lead | ftp://t.armory.com/ |
| 1024D/D39B096C | 76E4 728A 04EE 62B2 A09A 96D7 4D9E 239B D39B 096C |
-------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page