public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul de Vrieze <pauldv@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev]  Re: bootstrapping since gcc 3.4 is stable
Date: Thu, 26 Jan 2006 16:51:34 +0100	[thread overview]
Message-ID: <200601261651.40275.pauldv@gentoo.org> (raw)
In-Reply-To: <drak6g$g6q$1@sea.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2546 bytes --]

On Thursday 26 January 2006 14:54, Sven Köhler wrote:
>
> I think that i clearly explained several times, that bootstrap.sh
> installs gcc 3.4 _without_ removing the crippled gcc 3.3 that came with
> stage1.
>
> Mike Frysinger is talking about "choice" and ignores me if i tell him,
> that the "emerge -e system" uses the crippled gcc 3.3 for the first 10
> packages until "emerge -e system" finally rebuilds gcc 3.3 (only due to
> some sideeffects!!! namely the dependy of gcc 3.4 on libstdc++-v3 OR gcc
> 3.3).

Just to make sure, I just performed a stage 1 install in a separate dir. I 
found it did select the new 3.4 compiler. It indeed did not uninstall the old 
compiler, BUT told you to run "emerge -e system" Requiring the whole of 
system to be recompiled. That means everything, including the 3.3 compiler 
according to pretend. Indeed that means you'll end up with a 3.3 compiler 
besides a 3.4 one instead of having a 3.3 libstdc++. If that bothers you, 
just uninstall the 3.3 compiler and be done. It is the crippled compiler that 
doesn't support c++ anyway, ensuring that nothing has been built against 3.3 
libstdc++ yet.

> > If a stage1 install does not remove a 3.3.x bootstrap compiler when a 3.4
> > is used as the main, that is a bug in the bootstrap script. As such it
> > should be fixed.
>
> So i see that you seem to agree with me! The crippled gcc contained in
> the stage1 has to be removed by bootstrap.sh - and this is not done
> automatically by the steps that bootstrap.sh performs.

The crippled gcc will be replaced by the "emerge -e system" that bootstrap.sh 
tells you to perform. As such the system is not broken that much, but 
bootstrap.sh might indeed be "fixed" to special case this situation more. It 
would however require a rebuild of gcc. The reason being that this rebuild 
specifies a dependency on libstdc++3 which then would not be longer provided. 
Binary packages might however assume it's existence (from source will use the 
3.4 libstdc++).

The "way around this" would be to change bootstrap.sh back to building a 
minimal version of the current version that is then used to compile the rest 
of the system, including the C library and gcc itself. Between this however 
the original bootstrap compiler could be removed.

This however goes deep into bootstrapping a linux system. A complicated matter 
that is not for the weak of heart.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2006-01-26 15:55 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-25 12:30 [gentoo-dev] bootstrapping since gcc 3.4 is stable Sven Köhler
2006-01-25 13:23 ` Mike Frysinger
2006-01-25 16:23   ` Sven Köhler
2006-01-25 16:38     ` Marius Mauch
2006-01-25 18:12       ` Mikey
2006-01-25 21:11         ` [gentoo-dev] " Sven Köhler
2006-01-25 18:28       ` [gentoo-dev] " Mike Frysinger
2006-01-25 20:44   ` Sven Köhler
2006-01-25 21:17     ` Mike Frysinger
2006-01-25 22:27       ` [gentoo-dev] " Sven Köhler
2006-01-25 22:42         ` Jan Kundrát
2006-01-25 22:49           ` [gentoo-dev] " MIkey
2006-01-25 23:08             ` Jan Kundrát
2006-01-26  0:02               ` [gentoo-dev] " MIkey
2006-01-26  0:27                 ` Chris Gianelloni
2006-01-26  1:00                   ` Mikey
2006-01-26  1:13                 ` Stephen P. Becker
2006-01-26  1:32                   ` Mikey
2006-01-26  1:35                     ` Dan Meltzer
2006-01-26  1:49                     ` Stephen P. Becker
2006-01-26  2:23                       ` Mikey
2006-01-26  2:53                         ` Donnie Berkholz
2006-01-26  3:07                           ` Mikey
2006-01-26 10:37                             ` Marcelo Góes
2006-01-26 14:16                             ` Mike Frysinger
2006-01-26 15:42                               ` Mikey
2006-01-26 15:53                                 ` Mike Frysinger
2006-01-26 16:06                                   ` [gentoo-dev] " MIkey
2006-01-26 18:50                                     ` Mike Frysinger
2006-01-26 19:00                                       ` [gentoo-dev] " MIkey
2006-01-26 19:08                                         ` Mike Frysinger
2006-01-27  0:16                                           ` Mike Frysinger
2006-01-26  3:09                         ` [gentoo-dev] " Marcelo Góes
2006-01-26 12:08                         ` Stephen P. Becker
2006-01-26 21:46                           ` [gentoo-dev] " MIkey
2006-01-26 22:02                             ` Jan Kundrát
2006-01-26 22:07                               ` [gentoo-dev] " MIkey
2006-01-27  8:26                                 ` Paul de Vrieze
2006-01-26 14:06                         ` [gentoo-dev] " Chris Gianelloni
2006-01-26 15:02                           ` Mikey
2006-01-26 15:10                             ` [gentoo-dev] " Dan Meltzer
2006-01-26 15:39                           ` [gentoo-dev] Re: " Mikey
2006-01-26 14:02                     ` Chris Gianelloni
2006-01-26 15:34                       ` Mikey
2006-01-26 16:15                         ` Wernfried Haas
2006-01-26 16:27                           ` Dale
2006-01-26 16:43                             ` [gentoo-dev] " MIkey
2006-01-26 16:54                               ` Pete Ezzo
2006-01-26 16:42                           ` MIkey
2006-01-26 17:08                             ` Alec Warner
2006-01-26 17:30                               ` [gentoo-dev] " MIkey
2006-01-27  8:42                                 ` Paul de Vrieze
2006-01-27 15:08                                   ` [gentoo-dev] " MIkey
2006-01-27 15:48                                     ` Paul de Vrieze
2006-01-26 17:08                             ` [gentoo-dev] " Wernfried Haas
2006-01-26 17:47                               ` [gentoo-dev] " MIkey
2006-01-27 10:11                                 ` Paul de Vrieze
2006-01-26 16:16                         ` [gentoo-dev] " Paul de Vrieze
2006-01-26 18:48                           ` Mike Frysinger
2006-01-27  8:30                             ` Paul de Vrieze
2006-01-26  2:40             ` [gentoo-dev] " Sven Köhler
2006-01-26  3:02               ` Mike Frysinger
2006-01-26  3:06               ` Mikey
2006-01-26  6:14                 ` Homer Parker
2006-01-26 14:59                   ` Mikey
2006-01-26 11:17               ` Paul de Vrieze
2006-01-26 13:54                 ` Sven Köhler
2006-01-26 14:11                   ` Mike Frysinger
2006-01-26 18:23                     ` Sven Köhler
2006-01-26 18:44                       ` Mike Frysinger
2006-01-27  0:16                       ` Mike Frysinger
2006-01-30  1:37                         ` Sven Köhler
2006-01-30  1:39                           ` Mike Frysinger
2006-01-30  1:50                             ` Sven Köhler
2006-01-30  1:54                               ` Mike Frysinger
2006-01-26 14:57                   ` Chris Gianelloni
2006-01-26 15:51                   ` Paul de Vrieze [this message]
2006-01-26 16:17                     ` [gentoo-dev] " MIkey
2006-01-26 16:36                       ` Wernfried Haas
2006-01-26 17:17                         ` [gentoo-dev] " MIkey
2006-01-27 10:18                       ` [gentoo-dev] " Paul de Vrieze
2006-01-27 14:32                         ` [gentoo-dev] " MIkey
2006-01-27 14:40                           ` Paul de Vrieze
2006-01-27 15:32                             ` [gentoo-dev] " MIkey
2006-01-28 14:56                               ` Paul de Vrieze
2006-01-28 17:20                                 ` [gentoo-dev] " MIkey
2006-01-28 18:06                                 ` MIkey
2006-01-28 18:39                                   ` Stephen P. Becker
2006-01-29  3:45                                     ` Mikey
2006-01-26 14:12               ` [gentoo-dev] " Chris Gianelloni
2006-01-26 15:40                 ` Mikey
2006-01-26 16:00                   ` Paul de Vrieze
     [not found]                   ` <43D8FA31.2030300@gentoo.org>
2006-01-26 17:15                     ` [gentoo-dev] " MIkey
2006-01-26 17:40                       ` Jan Kundrát
2006-01-26 17:52                         ` [gentoo-dev] " MIkey
2006-01-26 18:13                           ` Jan Kundrát
2006-01-26 18:20                             ` [gentoo-dev] " MIkey
2006-01-26 21:53                               ` Jan Kundrát
2006-01-26 22:02                                 ` [gentoo-dev] " MIkey
2006-01-26 22:43                                   ` Jan Kundrát
     [not found]                                     ` <200601262257.k0QMvbg4016753@gw.open-hosting.net>
2006-01-27  4:13                                       ` [gentoo-dev] " Paul Varner
2006-01-26 22:45                                   ` [gentoo-dev] Re: Re: Re: Re: " Jakub Moc
2006-01-25 22:54         ` [gentoo-dev] " Chris Gianelloni
2006-01-25 13:56 ` [gentoo-dev] " Chris Gianelloni
2006-01-25 21:09   ` [gentoo-dev] " Sven Köhler
2006-01-25 21:52     ` Chris Gianelloni
2006-01-25 22:31       ` [gentoo-dev] " MIkey
2006-01-25 22:58         ` Chris Gianelloni
2006-01-25 23:50           ` [gentoo-dev] " MIkey
2006-01-26  0:20             ` Chris Gianelloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601261651.40275.pauldv@gentoo.org \
    --to=pauldv@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox