1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
|
5 |
Oh yeah, it's back, for the 6th time :) |
6 |
|
7 |
I've provided links to all the other discussions I could find on |
8 |
theaimsgroup in case you want to take a trip down memory lane. |
9 |
Hopefully I'll summarize the previous discussion well enough that you |
10 |
don't have to torture yourself..too much. |
11 |
|
12 |
The latest discussion ( [4], [5] ) was brought up by SpanKY about how |
13 |
the debug use flag and eclass are used differently depending on the |
14 |
situation. Some used the flag for turning on internal debugging |
15 |
routines ( think verbose library output ). Some used the flag to change |
16 |
CFLAGS and turn off stripping so that the debug symbols would remain |
17 |
intact. |
18 |
|
19 |
- From use.desc we gather: |
20 |
skyfw@kyoto /usr/portage/profiles $ cat use.desc | grep debug |
21 |
debug - Tells configure and the makefiles to build for debugging. |
22 |
Effects vary across packages, but generally it will at least add -g to |
23 |
CFLAGS. Remember to set FEATURES=nostrip too |
24 |
|
25 |
Many people do not like the fact that a USE flag changes CFLAGS. |
26 |
Although there are other USE flags that do this too ( pic comes to mind |
27 |
in a couple ebuilds, checkpassword fex ) they are a minority compared to |
28 |
debug. People want to be able to debug things in a simple manner, and |
29 |
this is not easily possible with the current portage system. It |
30 |
requires per-package FEATURES ( which is bottled with a host of other |
31 |
things, see [6] ). |
32 |
|
33 |
So, for future versions of portage ( not stable, unless per-package |
34 |
features makes it in...somehow ) we add a FEATURE called "debug". This |
35 |
FEATURE will: |
36 |
1. Set CFLAGS to a gentoo standard set ( perhaps user configurable ) of |
37 |
flags. |
38 |
2. Will turn on FEATURES="nostrip". |
39 |
3. Anything else it should do? ( Redhat's moving debug info to a |
40 |
seperate location perhaps? [3] |
41 |
|
42 |
The debug.eclass will be depreciated. The DEBUG use flag will change |
43 |
names to an agreed upon name that specifies the addition of debuging |
44 |
output. Foser's debuginfo change seemed appropriately named ( although |
45 |
thanks for changing it back :) ). |
46 |
|
47 |
No more eclass, no more packages inheriting from the debug but not even |
48 |
using the USE flag, just one per-package feature. |
49 |
|
50 |
[1] http://marc.theaimsgroup.com/?l=gentoo-dev&w=2&r=8&s=debug&q=b |
51 |
[2] http://marc.theaimsgroup.com/?l=gentoo-dev&w=2&r=7&s=debug&q=b |
52 |
[3] http://marc.theaimsgroup.com/?l=gentoo-dev&w=2&r=4&s=debug&q=b |
53 |
[4] http://marc.theaimsgroup.com/?l=gentoo-dev&w=2&r=2&s=debug&q=b |
54 |
[5] http://marc.theaimsgroup.com/?l=gentoo-dev&w=2&r=1&s=debug&q=b |
55 |
[6] http://bugs.gentoo.org/show_bug.cgi?id=44796 |
56 |
[7] http://bugs.gentoo.org/show_bug.cgi?id=55708 |
57 |
[8] http://bugs.gentoo.org/show_bug.cgi?id=55977 |
58 |
|
59 |
- -Alec Warner ( Antarus ) |
60 |
warnera6@×××××××.edu |
61 |
-----BEGIN PGP SIGNATURE----- |
62 |
Version: GnuPG v1.4.1 (GNU/Linux) |
63 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
64 |
|
65 |
iQIVAwUBQu7KxmzglR5RwbyYAQIXjg//VjprL1CML8ZfYvSNLI/AujugOs1p3M4X |
66 |
zFomIdqklIlzYNYet6qKe8esi3TQe59/UwYvQBTsIg7gXYI3ij6oq81CbU7MQUY5 |
67 |
DK1YKlAdsW75EKwhc8Bo47m7X9medC55m6XcoiweRPoEcsF9B1Aw1qfRm5B9WT8J |
68 |
hYtRmp0vHvdF9Viw0t5ekpX3VvYrqffheClUs9i0VraDikZ3ycKk8cKGpxPDUxE1 |
69 |
CwcnaPMN2HKNNW2jieH4rrTVRNCaZ2ZIf/x5QlaU1i8W20KzoT5JUAkMQVcsQtby |
70 |
FTfN35xgK1BFGblPHpb4taRGgwa2oaQwXUV+aux8nZy9jYXPBQcEXFRSoGKpHlNp |
71 |
uAftITo93MDC06PqcstVBCsJJTTiiP6MGIyfn+U0ghopPBpF7/Cn9RLQxrTbBJVC |
72 |
M2yEIZ+mb+3Nneii5kUe9ErH2EgEt/K2UkPLNXZBS6kiFI9AGSQZK/3bVE3QUbFM |
73 |
hN5hP0IGgS7WU3qFO8PluOOoIm/uDhG9XyWoCqW0rO5rLv2eCeqpNhIhZANs2Plw |
74 |
xjZuGnPkMLA1TxF2OZoc5T3+/gUHX/2Y/aAItYTZra+lvQBEZMXz3Kxoz4vmWjWs |
75 |
rWsbTejZMUUUfd8XVXxBLw4WFt2V2pDdla1LzAx9lF+aSMm15NhdwmfCV7nHblaU |
76 |
bB+LTL4QH9g= |
77 |
=3iaR |
78 |
-----END PGP SIGNATURE----- |
79 |
-- |
80 |
gentoo-dev@g.o mailing list |