From: "Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Ciaran McCreesh <ciaran.mccreesh@blueyonder.co.uk>
Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags
Date: Fri, 7 Jul 2006 01:39:05 +0200 [thread overview]
Message-ID: <200607070139.10355@enterprise.flameeyes.is-a-geek.org> (raw)
In-Reply-To: <20060707001607.0c74d924@snowdrop.home>
[-- Attachment #1: Type: text/plain, Size: 3352 bytes --]
On Friday 07 July 2006 01:16, Ciaran McCreesh wrote:
> Please try to keep this technical, even if your co-developers can't...
You started this.
> * it's relying upon non-guaranteed GCC internals.
Not that internals, that part is guaranteed to work, or we cannot consider
guaranteed __PIC__ either, and we rely on that heavily.
> * it's relying upon GCC knowing the state of the underlying system,
> which fails at least for VIS.
Define "state of underlying system" because that is not a complete definition.
This is not a state machine we're talking about, and we're not in science
class.
> * it's removing the ability to get access to the data at the metadata
> phase, leading to what you yourself called a "regression".
Yes, a little regression. That's what pro&cons consideration are needed for
after all.
> * it's forcing users to use insane CFLAGS hacks, which we've spent years
> telling them not to do and for good reason, to get back to previous
> behaviour.
No, we never spent years telling them not to use your so-called "CFLAGS hacks"
that are rather a proper usage of what the compiler gives you.
I would _not_ ask someone why he's using -mno-mmx for instance, but I _will_
tell someone using
-march=athlon64 -mmmx -msse -msse2 -m3dnow -m3dnowex
that he's not doing anything useful.
Kinda like I do to people who uses -Wl,--enable-new-dtags [1]
> * a large part of the justification is based upon a misunderstanding of
> how cross compilation should be done. The correct way around this
> problem was already posted to the thread by solar.
No I'm not misunderstand how cross compilation should be done with a package
manager. I'm saying that this will anyway give a hand to that. What I was
referring to mostly comes down to the fact that, if I want to build a bin
package for amd64 nocona arch, right now I am not guaranteed that setting
CFLAGS to -march=nocona will produce the right result.
> * it's removing transparency and simplicity and replacing them with
> obfuscation and complexity.
It's removing green and yellow and adding black and white.
Your words are useless unless you explain them.
> * it's taking a variable with a well defined purpose and abusing it for
> something unrelated.
No it is not. Want to get the news? People at binutils were discussing about
adding -march support to gas, so that it would refuse to build asm sources
that contains instructions not supported by the -march value passed.
So using -march=i586 with mmx useflag wouldn't work anymore.
It does make sense to them and it does to me too.
> Will that lot do or would you like some more?
You have the innate ability to find more arguments when the ones you brought
on are not accepted.
For what concerns me, I brought the idea, I find the single regression
acceptable, I find it a proper usage of $CFLAGS variable, I find the
internals guaranteed enough to work. My work is done here, I leave to anybody
else to say what they think, as it seems I'm not the only one thinking this
is a good idea.
[1]
http://farragut.flameeyes.is-a-geek.org/articles/2006/06/22/nonsensical-hacks-why-i-find-kdenewldflags-stupid
--
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-07-06 23:51 UTC|newest]
Thread overview: 136+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 10:52 [gentoo-dev] Replacing cpu-feature USE flags Diego 'Flameeyes' Pettenò
2006-07-06 11:00 ` Stuart Herbert
2006-07-06 11:23 ` Diego 'Flameeyes' Pettenò
2006-07-25 12:05 ` Enrico Weigelt
2006-07-06 11:03 ` Ioannis Aslanidis
2006-07-06 11:40 ` Donnie Berkholz
2006-07-06 11:48 ` Diego 'Flameeyes' Pettenò
2006-07-06 11:58 ` Donnie Berkholz
2006-07-06 12:21 ` Diego 'Flameeyes' Pettenò
2006-07-06 19:04 ` Harald van Dijk
2006-07-07 0:46 ` Mike Frysinger
2006-07-07 0:57 ` Diego 'Flameeyes' Pettenò
2006-07-07 1:19 ` Mike Frysinger
2006-07-06 15:41 ` Ned Ludd
2006-07-06 15:55 ` Donnie Berkholz
2006-07-06 19:06 ` Harald van Dijk
2006-07-06 19:42 ` Gentoo vs GNU toolchain (was Re: [gentoo-dev] Replacing cpu-feature USE flags) Kevin F. Quinn
2006-07-06 19:55 ` Harald van Dijk
2006-07-06 20:03 ` Stephen P. Becker
2006-07-06 20:14 ` Harald van Dijk
2006-07-06 23:44 ` Mike Frysinger
2006-07-07 5:46 ` Harald van Dijk
2006-07-07 14:00 ` Kevin F. Quinn
2006-07-07 16:53 ` Harald van Dijk
2006-07-07 17:55 ` Ned Ludd
2006-07-07 18:40 ` Harald van Dijk
2006-07-07 19:57 ` Ned Ludd
2006-07-07 21:09 ` Harald van Dijk
2006-07-08 11:24 ` Ned Ludd
2006-07-07 20:18 ` Tushar Teredesai
2006-07-08 11:22 ` Ned Ludd
2006-07-07 20:40 ` Mike Frysinger
2006-07-07 21:12 ` Mike Frysinger
2006-07-07 21:53 ` Harald van Dijk
2006-07-07 22:13 ` Mike Frysinger
2006-07-07 23:04 ` Harald van Dijk
2006-07-07 23:50 ` Mike Frysinger
2006-07-08 6:20 ` Harald van Dijk
2006-07-08 9:27 ` Martin Schlemmer
2006-07-08 11:51 ` Harald van Dijk
2006-07-08 13:46 ` Martin Schlemmer
2006-07-08 16:43 ` Harald van Dijk
2006-07-08 19:53 ` Jakub Moc
2006-07-08 13:51 ` Mike Frysinger
2006-07-06 23:42 ` Mike Frysinger
2006-07-06 19:56 ` Ciaran McCreesh
2006-07-06 20:27 ` Stephen Bennett
2006-07-06 23:40 ` Mike Frysinger
2006-07-25 12:14 ` [gentoo-dev] Replacing cpu-feature USE flags Enrico Weigelt
2006-07-25 17:07 ` Harald van Dijk
2006-08-03 0:38 ` Enrico Weigelt
2006-07-25 12:08 ` Enrico Weigelt
2006-07-06 12:19 ` Ciaran McCreesh
2006-07-06 12:29 ` Diego 'Flameeyes' Pettenò
2006-07-06 12:49 ` Ciaran McCreesh
2006-07-06 13:35 ` Olivier Crête
2006-07-06 14:03 ` Simon Stelling
2006-07-06 14:16 ` Ciaran McCreesh
2006-07-06 15:09 ` Simon Stelling
2006-07-06 15:20 ` Ciaran McCreesh
2006-07-06 15:39 ` Ned Ludd
2006-07-07 0:50 ` Mike Frysinger
2006-07-07 0:58 ` Diego 'Flameeyes' Pettenò
2006-07-07 1:15 ` Mike Frysinger
2006-07-07 2:28 ` Diego 'Flameeyes' Pettenò
2006-07-07 12:34 ` Martin Schlemmer
2006-07-07 13:08 ` Graham Murray
2006-07-07 13:21 ` Simon Stelling
2006-07-07 13:53 ` Martin Schlemmer
2006-07-07 14:03 ` Diego 'Flameeyes' Pettenò
2006-07-07 15:31 ` Martin Schlemmer
2006-07-07 17:22 ` Diego 'Flameeyes' Pettenò
2006-07-07 18:34 ` Mike Frysinger
2006-07-06 15:13 ` Kevin F. Quinn
2006-07-25 12:40 ` Enrico Weigelt
2006-07-06 16:43 ` Diego 'Flameeyes' Pettenò
2006-07-06 17:51 ` Ciaran McCreesh
2006-07-06 18:07 ` Diego 'Flameeyes' Pettenò
2006-07-06 18:29 ` Ciaran McCreesh
2006-07-06 18:42 ` Diego 'Flameeyes' Pettenò
2006-07-06 19:01 ` Ciaran McCreesh
2006-07-06 20:02 ` Curtis Napier
2006-07-06 20:13 ` Diego 'Flameeyes' Pettenò
2006-07-06 20:24 ` Ciaran McCreesh
2006-07-06 20:46 ` Diego 'Flameeyes' Pettenò
2006-07-06 20:58 ` Ciaran McCreesh
2006-07-06 21:12 ` Diego 'Flameeyes' Pettenò
2006-07-06 21:23 ` Ciaran McCreesh
2006-07-06 21:31 ` Joshua Jackson
2006-07-06 21:45 ` Ciaran McCreesh
2006-07-06 22:09 ` Jory A. Pratt
2006-07-06 22:28 ` Stephen Bennett
2006-07-06 23:10 ` Curtis Napier
2006-07-06 21:46 ` Stephen Bennett
2006-07-06 21:45 ` Diego 'Flameeyes' Pettenò
2006-07-06 23:16 ` Ciaran McCreesh
2006-07-06 23:39 ` Diego 'Flameeyes' Pettenò [this message]
2006-07-06 23:54 ` Ciaran McCreesh
2006-07-07 0:08 ` Diego 'Flameeyes' Pettenò
2006-07-07 0:31 ` Ciaran McCreesh
2006-07-07 12:24 ` Martin Schlemmer
2006-07-07 12:31 ` Brian Harring
2006-07-07 12:50 ` Martin Schlemmer
2006-07-07 0:01 ` Luca Barbato
2006-07-07 0:11 ` Diego 'Flameeyes' Pettenò
2006-07-07 0:31 ` Luca Barbato
2006-07-07 13:27 ` Chris Gianelloni
2006-07-07 13:36 ` Mike Doty
2006-07-07 16:14 ` [gentoo-dev] CPU subprofiles (was: Replacing cpu-feature USE flags) Ciaran McCreesh
2006-07-07 16:20 ` [gentoo-dev] CPU subprofiles Mike Doty
2006-07-07 21:46 ` [gentoo-dev] Replacing cpu-feature USE flags Roy Bamford
2006-07-06 21:10 ` Kevin F. Quinn
2006-07-06 21:12 ` Diego 'Flameeyes' Pettenò
2006-07-07 11:13 ` Simon Stelling
2006-07-07 13:44 ` Marius Mauch
2006-07-07 14:03 ` Simon Stelling
2006-07-07 17:53 ` Richard Fish
2006-07-07 0:20 ` Danny van Dyk
2006-07-07 0:27 ` Diego 'Flameeyes' Pettenò
2006-07-06 15:33 ` Ned Ludd
2006-07-06 16:44 ` Diego 'Flameeyes' Pettenò
2006-07-06 16:58 ` Ned Ludd
2006-07-06 17:09 ` Diego 'Flameeyes' Pettenò
2006-07-06 17:33 ` Ned Ludd
2006-07-06 18:08 ` Luca Barbato
2006-07-06 12:35 ` Kevin F. Quinn
2006-07-06 12:44 ` Diego 'Flameeyes' Pettenò
2006-07-06 13:17 ` Kevin F. Quinn
2006-07-06 16:02 ` Luca Barbato
2006-07-06 16:46 ` Diego 'Flameeyes' Pettenò
2006-07-06 16:27 ` Kevin F. Quinn
2006-07-06 18:02 ` Luca Barbato
2006-07-06 22:46 ` Luca Barbato
2006-07-07 11:36 ` Simon Stelling
2006-07-07 12:18 ` Luca Barbato
2006-07-06 23:35 ` Richard Fish
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=200607070139.10355@enterprise.flameeyes.is-a-geek.org \
--to=flameeyes@gentoo.org \
--cc=ciaran.mccreesh@blueyonder.co.uk \
--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