1 |
On Monday 10 July 2006 01:51, Ryan Hill wrote: |
2 |
> No, that would be a major pain in the ass for anyone wanting to use |
3 |
> -fast-math, which does have legitimate uses. |
4 |
> |
5 |
I want to pose here that -ffast-math has NO LEGITIMATE use as a global CFLAG. |
6 |
In some apps it doesn't matter as they don't use math. For others it is |
7 |
fatal. If users want to use it on a particular app, they better |
8 |
use /etc/portage/bashrc. |
9 |
|
10 |
> > 2) If yes, are there any other flags that ebuilds should die on ? |
11 |
> |
12 |
> There's a million, and they're constantly changing. For example, |
13 |
> -frename-registers is generally safe on GCC 3.4, broken in 4.0, and enabled |
14 |
> by default on 4.1. |
15 |
|
16 |
The flags that would apply are those that break apps because their use is |
17 |
broken. Not because the particular compiler is broken in this instance. |
18 |
|
19 |
> Users playing with CFLAGS get to keep the pieces. Trying to dummy-proof |
20 |
> the system doesn't help anyone but the dummies. ;) |
21 |
|
22 |
I don't mind that much not doing anything with -ffast-math, but filtering it |
23 |
out should not be done. It is a broken flag. Filtering it out gives the |
24 |
message that it isn't unsafe to use. |
25 |
|
26 |
Paul |
27 |
|
28 |
-- |
29 |
Paul de Vrieze |
30 |
Gentoo Developer |
31 |
Mail: pauldv@g.o |
32 |
Homepage: http://www.devrieze.net |