[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to detach debug symbols from libraries



Fabrizio Polacco writes:
 > Yann Dirson wrote:
 > > Problem: it's really a mmap image (thus works only for executables,
 > > not libs), and includes the libs symbols:
 > > 
 > 
 > But the real problem is that the sizes are ... unmanageable
 > the shared lib is half the size of the static one, while the .syms file
 > is double!
 > -rw-r--r--   1    2242044 Dec 13 19:20 libdb2.a
 > -rwxr-xr-x   1    1129332 Dec 13 19:18 libdb2.so
 > -rw-r--r--   1    5246976 Dec 15 13:26 libdb2.so.syms

Does gdb reads in the libs yours depends on ?  This might explain
that...

 > So I loose all interest in using .syms files instead of unstripped
 > static libs.

OK. Did you try objcopy(1) ?

-- 
Yann Dirson  <ydirson@a2points.com>      | Stop making M$-Bill richer & richer,
alt-email:     <dirson@univ-mlv.fr>      |     support Debian GNU/Linux:
debian-email:   <dirson@debian.org>      |         more powerful, more stable !
http://www.a2points.com/homepage/3475232 |
                    -----------------------------------------
                    A computer engineer's looking for a job !
                    -----------------------------------------


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: