From: "Rick \"Zero_Chaos\" Farina" <zerochaos@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Detecting ignored *FLAGS
Date: Mon, 23 Jul 2012 13:30:34 -0400 [thread overview]
Message-ID: <500D8A3A.3020903@gentoo.org> (raw)
In-Reply-To: <500C9E52.5060501@flameeyes.eu>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/22/2012 08:44 PM, Diego Elio Pettenò wrote:
> Il 22/07/2012 14:38, Rick "Zero_Chaos" Farina ha scritto:
>> It would seem to me that we could get all these QA warning out of the
>> way very quickly by adding -frecord-gcc-switches to the *FLAGS in the
>> base profile (it appears to be platform agnostic but if I'm wrong we can
>> add it for supported arches).
>
> Ehm no that's not a good idea because it can actually cause problems.
> Some ebuilds do s/-O2/${CFLAGS} s/gcc/$(tc-getCC)/ (in this order) and
> then -frecord-gcc-switches will fail.
>
> Other packages call ld directly, and then -frecord-gcc-switches in
> LDFLAGS will fail...
>
Those are two very valid reasons why we can't add these to the profiles,
but do you have any suggestions on how we can get more than just
yourself running this QA?
Even something simply like detecting CFLAGS="-frecord-gcc-switches" set
but not FFLAGS and then teasing the user into fixing it would seem
worthwhile to me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJQDYo6AAoJEKXdFCfdEflK7TkP/i3Fg5jyC00QQMNLh/RAf4O6
kZHlFaTNzAjaCJvdaZY10LEPpz4sOMLyGq+gE4dnugafUkoAj4Lv17pDy7Fat0RZ
7qGJcw2JK/lzX4G0djIb8DCX8zx1zlFBmODtOMQudJev8wdpOYA0WtNtLMHacWPp
h7+cEe3rUXZcHHH+9Pl5C1DBzZpHo8hG1JIW/Mg8p5JiCeXmGLNg8IeLC+lfKP3i
4wt7H9T+IAY/4oa1ihk+y46asnjhn8DkeAMtcsDow/ZB0iuqhfd5OCD0naUi/Yge
/Um7YN+mVQX2bMUa5tSqRLRA8GKrHoacGG7SL98VPCXEocBZ+LdoQgDsocRJ1D7n
t9ETEi5uHoGQ7CnnaH5UUq9wB/NddizQ+jg2rNyAnq0RobQLyfq9d0CwM5KjmHpx
q2dbiRtXZWhtDK8xDzogwZN0BChZgO04PgHnMwLrxqxCJ/tTb+KwjRKsUSFQErwn
kmq6/WmInFYKi1uCjyYIHmUVHjfGrlKc9Frbiu8Q/r+L4Jp9uGg/xYuZprxiiWZF
Y5XkYjWfdelDoFZ+TowpfMUcyQNjssbUK/Djf6xPnIlGiUtSEDQf0yJrnITmjHov
baWsHBnO6WEyvGwvXOyn5V3ZAbXj7rmipcFePa6WqxwhlwNbPFY9SVnffg5fdbdQ
gm+lUFpJnEg33LrKOvoM
=3iiT
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-07-23 17:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-22 21:38 [gentoo-dev] Detecting ignored *FLAGS Rick "Zero_Chaos" Farina
2012-07-22 22:10 ` Zac Medico
2012-07-23 0:44 ` Diego Elio Pettenò
2012-07-23 17:30 ` Rick "Zero_Chaos" Farina [this message]
2012-07-23 17:44 ` Diego Elio Pettenò
2012-07-23 18:50 ` Rick "Zero_Chaos" Farina
2012-07-27 5:44 ` Rick "Zero_Chaos" Farina
2012-07-27 6:51 ` Michał Górny
2012-07-27 6:59 ` Rick "Zero_Chaos" Farina
2012-07-27 13:28 ` Diego Elio Pettenò
2012-07-27 10:49 ` [gentoo-dev] " Duncan
2012-07-27 17:38 ` Rick "Zero_Chaos" Farina
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=500D8A3A.3020903@gentoo.org \
--to=zerochaos@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