From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc-4.1.1
Date: Thu, 8 Jun 2006 15:31:31 +0200 [thread overview]
Message-ID: <20060608153131.5653b6b7.hilse@web.de> (raw)
In-Reply-To: <FAEEIJPAOFEMBBLKPMJECEGMGCAA.BYoung@NuCORETech.com>
Hi,
On Thu, 8 Jun 2006 05:34:49 -0700 "Bob Young" <BYoung@nucoretech.com>
wrote:
> No, sorry that's just wrong. gcc is slotted, if the above were true
> there would be no need for gcc-config in order to select a default
> compiler.
Did you follow the documentation pointer given in the mail you are
replying to before making such statements? In fact, you're wrong here.
> When a new compiler is emerged, it does *not* automatically
> become the default system compiler, it must be selected, and that can
> only happen after it has successfully been emerged. The first time a
> new gcc compiler is emerged, it is indeed built with the previous
> version of the compiler that is currently istalled as the system
> default.
You haven't understood a word from the posting you're replying to.
> It does have to be emerged twice in order for it to be built with
> itself, anybody who thinks otherwise doesn't understand the basic
> principles of compiling and linking.
Try to understand what you are replying to. GCC's internal build logic
does the staging. That's got nothing to do with what your system calls
when you issue "gcc", and only at that point the slotting of GCC
versions comes into play.
> > Because for basically every program on your system, they are
> > *dynamically linked* against glibc.
>
> Are you absolutely 100% sure that every single system utility and
> application is *dynamically* linked, and that no apps or utilities
> anywhere in the system specifies *static* linking?
What would that change? We're talking about GCC, not glibc.
> > There are a few statically linked programs that will include glibc
> > internally. These are used only for system recovery
> > purposes...there is no need to worry about them at all.
>
> Really, so people who intentionally and specifically want to upgrade
> absolutely *everything* should not worry about what gets left out
> because Richard says it's unimportant?
If the build logic of those programs uses glibc statically, the
specific ebuilds for such programs have to get updated in order to
incorporate fixes that are needed in statically compiled libraries.
Following *your* logic, one would have to do emerge -e world after the
slightest update just for the case that the updated package is compiled
statically into something.
> The issue is about upgrading gcc and even the gcc upgrade howto
> recommends an emerge -e world. It's clear that gcc it self at least
> has to be emerged twice in order to build the new gcc *with* the new
> gcc.
Repeating this doesn't make it more true than being plain wrong.
> > There is no value to having glibc or libstdc++-v3 in the first line.
> > There is no value at all to doing that twice.
>
> Twice is the only way to build the new gcc *with* the new gcc. I
> should have added the gcc-config select command in between, but I
> thought that was pretty clearly necessary.
He was talking about glibc at that point. I don't see no value either.
> > Also, libstdc++-v3 is only needed by a few binary-only programs on
> > Gentoo. Moreover, it is simply a build of gcc-3.3.6, which as I
> > already said uses itself to build itself, so I cannot see any
> > point in ever re-merging libstdc++-v3 due to a gcc upgrade
>
> The same holds true for libstdc++-v3 orginally it was built with the
> default system compiler, it makes sense to have it rebuilt with the
> new compiler.
Not sure here, but it may well be possible that the ebuild in question
builds a gcc 3.3 for bootstrapping this, too.
-hwh
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-06-08 13:48 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ad4496950606070647s5a4bc702m8deeda7dbd590c4a@mail.gmail.com>
2006-06-07 13:53 ` [gentoo-user] gcc-4.1.1 Mohammed Hagag
2006-06-07 14:30 ` Peper
2006-06-07 14:35 ` Julien Cabillot
2006-06-07 14:45 ` Kristian Poul Herkild
2006-06-07 14:56 ` Neil Bothwick
2006-06-07 15:00 ` Bo Ørsted Andresen
2006-06-07 15:25 ` Conneries wearegeeks
2006-06-07 16:04 ` Roy Wright
2006-06-07 17:46 ` Mike Huber
2006-06-07 18:09 ` Daniel da Veiga
2006-06-07 19:27 ` Roy Wright
2006-06-07 19:55 ` Daniel da Veiga
2006-06-07 18:17 ` Evan Klitzke
2006-06-07 23:25 ` Richard Fish
2006-06-08 0:32 ` Evan Klitzke
2006-06-08 4:40 ` Richard Fish
2006-06-08 11:39 ` Mohammed Hagag
2006-06-08 1:50 ` Bob Young
2006-06-08 2:10 ` Jerry McBride
2006-06-12 21:35 ` Bob Young
2006-06-13 0:09 ` Richard Fish
2006-06-08 4:24 ` Richard Fish
2006-06-08 12:34 ` Bob Young
2006-06-08 13:31 ` Hans-Werner Hilse [this message]
2006-06-08 14:00 ` Bob Young
2006-06-08 14:28 ` Bo Ørsted Andresen
2006-06-08 14:57 ` Bob Young
2006-06-08 15:27 ` Toby Cubitt
2006-06-08 18:05 ` Richard Fish
2006-06-09 11:50 ` Vladimir G. Ivanovic
2006-06-09 19:43 ` Richard Fish
2006-06-16 17:25 ` Thomas T. Veldhouse
2006-06-16 17:50 ` Bob Young
2006-06-16 17:17 ` Thomas T. Veldhouse
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=20060608153131.5653b6b7.hilse@web.de \
--to=hilse@web.de \
--cc=gentoo-user@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