From: Alan Mckinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to properly change CFLAGS ?
Date: Wed, 23 Aug 2006 16:04:59 +0200 [thread overview]
Message-ID: <1156341899.29782.32.camel@gentoo> (raw)
In-Reply-To: <200608231329.21927.bo.andresen@zlin.dk>
On Wed, 2006-08-23 at 13:29 +0200, Bo Ørsted Andresen wrote:
> On Wednesday 23 August 2006 09:43, Alan Mckinnon wrote:
> > I believe the gcc ebuild does do a bootstrap compile, which does imply
> > that emerge -e system is redundant.
> >
> > But, we had a huge long rambling thread on this point recently which I'd
> > rather not rehash again :-) and IIRC the general consensus was that
> > 'emerge -e system ; emerge -e world' was the way to go, for reasons
> > broader than just gcc. I forget the details, maybe we should both check
> > the archives.
>
> Back then we were speaking of a gcc upgrade in which case Richard doesn't
> disagree with the emerge -e system step which is also mentioned in [1]. We
> were definitely NOT talking about a minor modification of CFLAGS between -Os
> and -O3! That's where you're wrong.
Can you be absolutely certain I'm wrong? Can you absolutely guarantee
that a recompile with a different config MUST be treated differently to
an upgrade?
As I see it the only difference I can count on is that the first just
happens to not involve a change in version number. In both cases a new
binary is made which replaces the old one, and said new binary may or
may not include features/configurations that are incompatible with other
already existing software.
The only way you could guarantee that is if the gcc sources ignore
CFLAGS and other settings when compiling gcc in an effort to build a
compiler that is always in a known state with known output. That would
be an awfully good idea for a compiler but I haven't seen a clear
statement anywhere that this is in fact what is done, so I don't assume
that it is that way.
Unless you have assumed that gcc is not to be recompiled, but only given
different options to use in the future when doing it's thing, in which
case we are both right, but talking about different things
alan
>
> [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml
>
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-08-23 14:10 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-21 20:51 [gentoo-user] How to properly change CFLAGS ? Stefan G. Weichinger
2006-08-21 21:01 ` Richard Fish
2006-08-21 21:19 ` Stefan G. Weichinger
2006-08-22 3:18 ` Richard Fish
2006-08-22 7:23 ` Stefan G. Weichinger
2006-08-22 15:03 ` Bo Ørsted Andresen
2006-08-22 19:58 ` Stefan G. Weichinger
2006-08-23 21:04 ` Bo Ørsted Andresen
2006-08-23 22:54 ` Richard Fish
2006-08-23 23:31 ` Bo Ørsted Andresen
2006-08-21 21:16 ` Neil Bothwick
2006-08-21 21:27 ` Stefan G. Weichinger
[not found] ` <20060822003250.3daebfb0@krikkit.digimed.co.uk>
2006-08-22 2:28 ` Collins Richey
2006-08-22 14:16 ` Bo Ørsted Andresen
2006-08-22 3:06 ` Richard Fish
2006-08-22 7:26 ` Stefan G. Weichinger
[not found] ` <1156978378.17760.22.camel@scarlatti.leonora.org>
2006-08-31 11:15 ` Richard Fish
2006-08-22 14:12 ` Alan Mckinnon
2006-08-22 16:23 ` Dale
2006-08-22 18:36 ` Adrian Frith
2006-08-22 18:54 ` Dale
2006-08-22 19:30 ` Richard Fish
2006-08-22 20:53 ` Bo Ørsted Andresen
2006-08-22 21:02 ` Richard Fish
2006-08-22 21:04 ` Richard Fish
2006-08-22 21:19 ` Bo Ørsted Andresen
2006-08-22 21:50 ` Richard Fish
2006-08-22 21:54 ` Bo Ørsted Andresen
2006-08-22 21:24 ` Stefan G. Weichinger
2006-08-23 7:43 ` Alan Mckinnon
2006-08-23 11:29 ` Bo Ørsted Andresen
2006-08-23 14:04 ` Alan Mckinnon [this message]
2006-08-23 19:40 ` Richard Fish
2006-08-23 19:45 ` Stefan G. Weichinger
2006-08-24 7:06 ` Alan Mckinnon
2006-08-22 18:40 ` Richard Fish
2006-08-23 8:07 ` Alan Mckinnon
2006-08-23 19:06 ` Richard Fish
2006-08-23 20:22 ` Michael Hennebry
2006-08-23 20:29 ` Bo Ørsted Andresen
2006-08-23 20:49 ` Stefan G. Weichinger
2006-08-23 21:48 ` Michael Hennebry
2006-08-23 21:55 ` Stefan G. Weichinger
2006-08-23 22:21 ` Bo Ørsted Andresen
2006-08-23 22:24 ` Bo Ørsted Andresen
2006-08-23 22:50 ` Richard Fish
2006-08-24 23:31 ` Michael Hennebry
2006-08-24 7:11 ` Alan Mckinnon
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=1156341899.29782.32.camel@gentoo \
--to=alan@linuxholdings.co.za \
--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