1 |
Good afternoon, |
2 |
|
3 |
probably in portage-2.0.54 a patch will be added to emit split debug |
4 |
info. Having a split debug allows us to retain all the advantages of |
5 |
stripping executables while gaining the ability to properly debug |
6 |
executables in bfd aware programs. It's been in testing with a small |
7 |
hand full of devs and works quite well, but before it's pushed in we |
8 |
would like to get input from our devs & users. |
9 |
|
10 |
Would you be willing to give up space in $ROOT/usr/lib/debug for ELF |
11 |
executables by default in order to aid in better debugging by or do we |
12 |
want to only emit it when a FEATURE= is defined. |
13 |
|
14 |
Having a split debug pretty much obsoletes the need to add nostrip to |
15 |
your features in order to get debug info. |
16 |
|
17 |
Users wishing to not have debug info can simply add |
18 |
INSTALL_MASK="/usr/lib/debug ${INSTALL_MASK}" to make.conf or the |
19 |
environment unless we make it FEATURE based. |
20 |
|
21 |
I'm in favor of it enabled per default but I'd like to know what you |
22 |
think and why. (advantages of on/off by default etc..) |
23 |
|
24 |
Anybody wanting to test or make use of this feature right away can grab |
25 |
a copy of my prepstrip from |
26 |
http://dev.gentoo.org/~solar/portage_misc/prepstrip and save it to |
27 |
/usr/lib/portage/bin/prepstrip or patch portage with |
28 |
http://dev.gentoo.org/~solar/patch_overlay/sys-apps/portage/portage-2.0.53_rc7-prepstrip.patch |
29 |
It requires you merge pax-utils for the scanelf util. |
30 |
|
31 |
|
32 |
-- |
33 |
Ned Ludd <solar@g.o> |
34 |
Gentoo Linux |
35 |
|
36 |
-- |
37 |
gentoo-dev@g.o mailing list |