public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Dying on some CFLAGS instead of filtering them.
@ 2006-07-09 21:24 Denis Dupeyron
  2006-07-09 21:32 ` Ciaran McCreesh
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Denis Dupeyron @ 2006-07-09 21:24 UTC (permalink / raw
  To: gentoo-dev

Dear devs,

In bug #139412, I ask Paul de Vriese why he thinks python should die
on --fast-math instead of just filtering it. Here's his answer :

"Denis, quite simple. -ffast-math is broken and short-sighted for a global flag.
Filtering gives the shortsighted message that it works globally, while it is
not suited for any package not specifically tested for it. As it breaks python,
dieing makes people understand that it does not work on python. It is better
than the alternative of not looking for it at all."

This, for me, triggers 3 questions that are gentoo-dev@ material :

1) Should all ebuilds that currently filter --fast-math die on its
presence instead of filtering it ?

2) If yes, are there any other flags that ebuilds should die on ?

3) Suppose that -ftracer, for example, is one of those, and knowing
that enabling -fprofile-use enables -ftracer, shouldn't ebuilds also
die on use of -fprofile-use ? It's only an example, this situation
will exist for other pairs of flags.

The hidden question behind these three is : shouldn't we have a
"something" that enables us to safely handle this kind of situations ?
Like some kind of system- and/or architecture-wide flag mask that
could be overriden by the ebuild and/or the user (at his own risk) ?
This could potentialy reduce the number of bugs that poor old bugzie
has to cope with, and simplify ebuild writing and maintenance.

If we already have such a thing, I'm sure you guys know where the
cluebat is... But in any case, questions 1), 2) and 3) still need to
be answered.

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



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2006-07-16 20:24 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox