public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Denis Dupeyron" <calchan@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Dying on some CFLAGS instead of filtering them.
Date: Sat, 15 Jul 2006 14:39:46 +0200	[thread overview]
Message-ID: <7c612fc60607150539k107fedb3y63492021b00a5f3c@mail.gmail.com> (raw)
In-Reply-To: <e91fb8$f1l$1@sea.gmane.org>

On 7/11/06, Ryan Hill <dirtyepic.sk@gmail.com> wrote:
> Their phrase, not mine. ;)  I think the idea is you should be able to emerge -e
> world and walk away and not have anything interrupt the process thus requiring
> the user interact with the system.

Well yes, but an ebuild that dies, whatever the reason, hasn't much to
do with interactivity.

> > If a package is known not to work with a certain flag, being able to
> > emerge it won't change the fact that it doesn't run.
>
> If a package is known to not work with a certain flag it should be filtered so
> it does run.

What will follow isn't only for you. You guys are focusing on the
die/filter alternative. Maybe you haven't noticed but I have never
stated that I'd prefer ebuilds to die or filter. What I wanted to
discuss is can't we do something globally to avoid these bugs coming
in, so that we can focus on something else. I don't care yet if it's
filtering or dying. And never did I talk about educating the masses.

> Do you mean for ebuilds that knowingly break with -ftracer, or for everything?
> There are packages that expect to be built with certain flags;  not -ftracer,
> but others.  Fex, libao needs -ffast-math ;).  Also, what about ebuilds that do
> use -fprofile, like gcc itself?  I know toolchain.eclass strips all flags, I'm
> just using it as an example.

I explained I was talking about a global system, with a possibility
for ebuilds/users that wanted/needed it to opt out. It's much easier
to "unblock" --fast-math for libao than going through idontknowhowmany
bugs about the same number of packages that break with --fast-math,
for example.

> If you mean just for packages that break with certain flags then absolutely.
> But such a mechanism would have to be maintained for every different GCC
> version, since -fprofile might not invoke -ftracer in every version, and indeed
> some versions might not even recognize -fno-tracer and bail with an error.

Let's count together the number of GCC versions we should really care
about. 3.4, 4.1, any others ?

> Mad props to the bug-wranglers, but I don't think it'll be a cakewalk to
> automate this in any sane way.

Automate what ?

> Right, but how are people supposed to learn something is dangerous if all the
> sharp edges have been filed off?  And how can you decide which flags are "bad"
> and "good" on a global level when for the most part compiler parameters are akin
> to black magic?

Since when is being a learning tool one of the goals of Gentoo ?

Denis.
-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2006-07-15 12:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09 21:24 [gentoo-dev] Dying on some CFLAGS instead of filtering them Denis Dupeyron
2006-07-09 21:32 ` Ciaran McCreesh
2006-07-15 11:54   ` Denis Dupeyron
2006-07-15 13:59     ` Ciaran McCreesh
2006-07-09 23:51 ` [gentoo-dev] " Ryan Hill
2006-07-10 12:51   ` Denis Dupeyron
2006-07-11  2:32     ` Ryan Hill
2006-07-15 12:39       ` Denis Dupeyron [this message]
2006-07-15 16:33         ` Ryan Hill
2006-07-15 17:38           ` Ryan Hill
2006-07-16 19:55       ` Paul de Vrieze
2006-07-16 20:20         ` Ryan Hill
2006-07-16 19:37   ` Paul de Vrieze
2006-07-10  8:34 ` [gentoo-dev] " Richard Fish
2006-07-10 10:16   ` Ned Ludd
2006-07-10 16:01     ` Richard Fish
2006-07-10 17:08       ` Zac Medico
2006-07-10 20:30         ` Richard Fish
2006-07-10 20:42           ` Simon Stelling
2006-07-10 21:01             ` Richard Fish
2006-07-10 21:22           ` Donnie Berkholz
2006-07-10 12:25 ` [gentoo-dev] " Duncan
2006-07-10 13:20 ` [gentoo-dev] " Patrick McLean
2006-07-16 20:08   ` Paul de Vrieze
2006-07-10 14:42 ` Ciaran McCreesh

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=7c612fc60607150539k107fedb3y63492021b00a5f3c@mail.gmail.com \
    --to=calchan@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