From: Lionel Bouton <lionel-dev@bouton.name>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] CFLAGS paragraph for the GWN
Date: Wed, 04 Oct 2006 00:37:39 +0200 [thread overview]
Message-ID: <4522E633.6070601@bouton.name> (raw)
In-Reply-To: <20061003132656.79e67731@snowdrop.home>
Ciaran McCreesh wrote the following on 03.10.2006 14:26 :
> On Tue, 03 Oct 2006 02:56:42 +0200 Lionel Bouton
> <lionel-dev@bouton.name> wrote:
> | Being able to tune the CFLAGS is part of one of the core principles of
> | Gentoo: let the user be in control.
>
> What? No it isn't.
>
Maybe it depends on what you mean by 'in control'. What I mean is that
you have a good stable base from which to work on, but nothing prevents
you to tweak things like you want: Gentoo doesn't get in your way.
http://www.gentoo.org/main/en/about.xml mentions "Extreme
Configurabiliy" and the main picture states "Larry the Cow was in
control. And he liked it.".
> | <li>nss_ldap stopped working with <c>-ffast-math</c> (reported to
> | break many packages changing with the actual gcc version)</li>
>
> Uh, -ffast-math has never been and will never be a safe thing to stick
> in CFLAGS.
>
I agree (how could I say otherwise after spending several days with a
hole in my foot finally finding that I had a gun named fast-math in my
hand :-) ).
Apparently many developpers think that it might be in CFLAGS though (see
the amount of 'filter-flags -ffast-math' in ebuilds) so a reminder might
not be wasted for some users.
>
> | Users with unsupported CFLAGS (see the <uri
> | link='http://gentoo-wiki.com/CFLAGS_matrix'>CFLAGS matrix</uri> for
> | example) might want to return to safe CFLAGS (see <uri
> | link='http://gentoo-wiki.com/Safe_Cflags'>Safe CFLAGS</uri>) if recent
> | updates caused them stability problems. On the other hand, more
> | adventurous users might want to experiment with CFLAGS that didn't
> | work properly with gcc-3.4.6... As always, the user is in control.
>
> Linking to that is a very bad idea. The wiki is in control of the
> minority ricer fringe.
>
>
Ok. Anyway I'm now convinced that a dev-proofed version of its content
in the GWN would be far better.
> GWN shouldn't be advocating this kind of thing at all. Here's a better
> paragraph:
>
> <p>We would like to remind you that using anything beyond -O2
> -fomit-frame-pointer -march/-mcpu/-mtune in CFLAGS or CXXLFAGS (and
> -mieee, -mabi etc on selected archs that tell you to do this), and using
> anything at all in LDFLAGS or ASFLAGS, is pointless and will lead to a
> broken system. Your penis length is not proportional to the size of your
> CFLAGS.</p>
>
>
Hum, I'll leave out the last sentence or rephrase it... I'd prefer to be
more soft-spoken: pointless might be a little too much too. Let's say
that the cost-risk/benefit ratio is not worth it for the vast majority
of users. CFLAGS tuning should probably only be used by people with very
specific needs (gcc devs/testers, HPTC people with extensive
knowledge/experience of the problems involved). For LDFLAGS and ASFLAGS
I'll take your word for it (I never even tried modifying them myself).
Lionel.
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2006-10-03 22:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-03 0:56 [gentoo-dev] [RFC] CFLAGS paragraph for the GWN Lionel Bouton
2006-10-03 11:55 ` Chris Gianelloni
2006-10-03 12:26 ` Ciaran McCreesh
2006-10-03 13:15 ` Mike Frysinger
2006-10-04 8:35 ` Jan Kundrát
2006-10-03 22:37 ` Lionel Bouton [this message]
2006-10-04 12:25 ` Paul de Vrieze
2006-10-03 16:11 ` Josh Saddler
2006-10-03 17:16 ` Lionel Bouton
2006-10-03 17:22 ` Daniel Ostrow
2006-10-03 17:47 ` Charlie
2006-10-03 17:56 ` Stephen P. Becker
2006-10-03 17:49 ` Lionel Bouton
2006-10-03 20:46 ` Chris Gianelloni
2006-10-03 22:14 ` Lionel Bouton
2006-10-03 18:08 ` Simon Stelling
2006-10-04 0:31 ` [gentoo-dev] Linking to Gentoo-wiki from www.gentoo.org Andrew Ross
2006-10-04 8:19 ` Sven Vermeulen
2006-10-04 0:32 ` Andrew Ross
2006-10-04 2:52 ` Josh Saddler
2006-10-04 3:36 ` Donnie Berkholz
2006-10-04 13:58 ` Chris Gianelloni
-- strict thread matches above, loose matches on Subject: below --
2006-09-30 20:35 [gentoo-dev] [RFC] CFLAGS paragraph for the GWN Lionel Bouton
2006-09-30 20:58 ` Dominique Michel
2006-09-30 21:48 ` Mike Frysinger
2006-09-30 22:42 ` Lionel Bouton
2006-10-01 0:37 ` George Prowse
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=4522E633.6070601@bouton.name \
--to=lionel-dev@bouton.name \
--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