1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Dne 7.5.2011 16:20, "Paweł Hajdan, Jr." napsal(a): |
5 |
> This is mostly a nit-like RFC. The developer profile adds a |
6 |
> profile.bashrc, which prints the "You should enable -g (or higher) for |
7 |
> debugging!" message when "-g" is not in CFLAGS. |
8 |
> |
9 |
> I wonder if we can remove that file. It has been added 3 years ago: |
10 |
> |
11 |
> <http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/targets/developer/profile.bashrc?view=markup> |
12 |
> |
13 |
> It is not obvious from looking at emerge output what prints this |
14 |
> message, it doesn't fit well with the rest of the output, and may be |
15 |
> easy to miss: |
16 |
> |
17 |
> * USE: elibc_glibc gtk kernel_linux test userland_GNU x86 |
18 |
> * FEATURES: sandbox splitdebug test userpriv usersandbox |
19 |
> You should enable -g (or higher) for debugging! |
20 |
>>>> Unpacking source... |
21 |
>>>> Unpacking mtr-0.80.tar.gz to /var/tmp/portage/net-analyzer/mtr-0.80/work |
22 |
> |
23 |
> I think it is not necessary for every developer to add "-g" to CFLAGS - |
24 |
> the main point is to have any symbols at all, not just |
25 |
> to-the-file-and-line-precise debugging info. If the latter is needed, |
26 |
> the developer will obviously know what to do. |
27 |
> |
28 |
> What do you think about removing |
29 |
> gentoo-x86/profiles/targets/developer/profile.bashrc file? |
30 |
> |
31 |
I would preffer to see there -ggdb and FEATURES=splitdebug to be honest. |
32 |
-----BEGIN PGP SIGNATURE----- |
33 |
Version: GnuPG v2.0.17 (GNU/Linux) |
34 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
35 |
|
36 |
iEYEARECAAYFAk3FX4sACgkQHB6c3gNBRYdxGACglTvsumBWP2k3EHqTsUn35HRP |
37 |
jXUAoKSPfXIqFcPDeQ5XtnAHutggf9bH |
38 |
=jABx |
39 |
-----END PGP SIGNATURE----- |