Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags
Date: Fri, 07 Jul 2006 00:20:57
Message-Id: 200607070208.57971@enterprise.flameeyes.is-a-geek.org
In Reply to: Re: [gentoo-dev] Replacing cpu-feature USE flags by Ciaran McCreesh
1 On Friday 07 July 2006 01:54, Ciaran McCreesh wrote:
2 > With __PIC__ there's not much choice. Here there is.
3 I would rather say that __PIC__ is guaranteed.
4
5 > In the VIS case, there are plenty of situations where GCC will think
6 > that the underlying system doesn't do VIS (because that's the only way
7 > of stopping it from producing broken code), but where hand-crafted VIS
8 > code is fine and desirable.
9 Okay, this is why i wanted to know that from SPARC team, as I have no
10 knowledge of that architecture. I suppose then that VIS cannot be handled by
11 this way.
12 > | No, we never spent years telling them not to use your so-called
13 > | "CFLAGS hacks" that are rather a proper usage of what the compiler
14 > | gives you.
15 > Wrong. We did.
16 Then you were wrong. I could have spent time explaining them when they make
17 sense and why they don't in their usecases. If you did, well, then you really
18 need to know better what you do because you seem to me pretty confused
19 yourself, and I feel pity for you.
20
21 > Well no, if you're cross compiling you should be using an entirely
22 > separate configuration setup.
23 Same arch, slightly different setup, I find simpler to change CFLAGS.
24
25 > Basic software engineering principles. Or basic English, if you prefer.
26 Sorry I'm in the "Software engineering does not make real world usable" club.
27 And find such terms opinable, subjective and vague.
28
29 > CFLAGS != ASFLAGS.
30 Point being? The idea would be that by default it passes the current
31 GCC's -march.
32
33 > Well yes. There're all sorts of things wrong with this proposal, and
34 > some of them are more obvious than others. Still, it makes sense to
35 > start with the easy ones and see whether they'll suffice before moving
36 > onto more complex objections...
37 No it does not, as one would expect the big problems being hashed out first
38 and then fine grained. But maybe I'm just a different kind of practical
39 person than you are. Or you are not a practical person at all and just think
40 of software engineering and theories and "this should work this way even if
41 there is no real world way to make use of it".... oh wait...
42
43 --
44 Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
45 Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

Replies

Subject Author
Re: [gentoo-dev] Replacing cpu-feature USE flags Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
Re: [gentoo-dev] Replacing cpu-feature USE flags Martin Schlemmer <azarah@××××××××××××.org>