Gentoo Archives: gentoo-dev

From: "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Detecting ignored *FLAGS
Date: Mon, 23 Jul 2012 17:30:39
Message-Id: 500D8A3A.3020903@gentoo.org
In Reply to: Re: [gentoo-dev] Detecting ignored *FLAGS by "Diego Elio Pettenò"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 07/22/2012 08:44 PM, Diego Elio Pettenò wrote:
5 > Il 22/07/2012 14:38, Rick "Zero_Chaos" Farina ha scritto:
6 >> It would seem to me that we could get all these QA warning out of the
7 >> way very quickly by adding -frecord-gcc-switches to the *FLAGS in the
8 >> base profile (it appears to be platform agnostic but if I'm wrong we can
9 >> add it for supported arches).
10 >
11 > Ehm no that's not a good idea because it can actually cause problems.
12 > Some ebuilds do s/-O2/${CFLAGS} s/gcc/$(tc-getCC)/ (in this order) and
13 > then -frecord-gcc-switches will fail.
14 >
15 > Other packages call ld directly, and then -frecord-gcc-switches in
16 > LDFLAGS will fail...
17 >
18 Those are two very valid reasons why we can't add these to the profiles,
19 but do you have any suggestions on how we can get more than just
20 yourself running this QA?
21
22 Even something simply like detecting CFLAGS="-frecord-gcc-switches" set
23 but not FFLAGS and then teasing the user into fixing it would seem
24 worthwhile to me.
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v2.0.19 (GNU/Linux)
27 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
28
29 iQIcBAEBAgAGBQJQDYo6AAoJEKXdFCfdEflK7TkP/i3Fg5jyC00QQMNLh/RAf4O6
30 kZHlFaTNzAjaCJvdaZY10LEPpz4sOMLyGq+gE4dnugafUkoAj4Lv17pDy7Fat0RZ
31 7qGJcw2JK/lzX4G0djIb8DCX8zx1zlFBmODtOMQudJev8wdpOYA0WtNtLMHacWPp
32 h7+cEe3rUXZcHHH+9Pl5C1DBzZpHo8hG1JIW/Mg8p5JiCeXmGLNg8IeLC+lfKP3i
33 4wt7H9T+IAY/4oa1ihk+y46asnjhn8DkeAMtcsDow/ZB0iuqhfd5OCD0naUi/Yge
34 /Um7YN+mVQX2bMUa5tSqRLRA8GKrHoacGG7SL98VPCXEocBZ+LdoQgDsocRJ1D7n
35 t9ETEi5uHoGQ7CnnaH5UUq9wB/NddizQ+jg2rNyAnq0RobQLyfq9d0CwM5KjmHpx
36 q2dbiRtXZWhtDK8xDzogwZN0BChZgO04PgHnMwLrxqxCJ/tTb+KwjRKsUSFQErwn
37 kmq6/WmInFYKi1uCjyYIHmUVHjfGrlKc9Frbiu8Q/r+L4Jp9uGg/xYuZprxiiWZF
38 Y5XkYjWfdelDoFZ+TowpfMUcyQNjssbUK/Djf6xPnIlGiUtSEDQf0yJrnITmjHov
39 baWsHBnO6WEyvGwvXOyn5V3ZAbXj7rmipcFePa6WqxwhlwNbPFY9SVnffg5fdbdQ
40 gm+lUFpJnEg33LrKOvoM
41 =3iiT
42 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Detecting ignored *FLAGS "Diego Elio Pettenò" <flameeyes@×××××××××.eu>