On 05/07/03(Sun) 16:04, Nelson Benítez wrote:
> Hello, Im trying to emerge a library (gnome-vfs) with debugging symbols
> so gdb can show me sources when debugging. To accomplish this I have
> emerged with pertinent cflags (-ggdb -O0) and with FEATURE "noclean" so
> the sources are still around after emerging. But for some strange reason
> the so file in the work directory has debugging symbols (not stripped)
> but the so file installed hasn't debugging symbols (stripped), as you
> can see here:
> 
> file 
> /var/tmp/portage/gnome-vfs-2.10.1-r1/work/gnome-vfs-2.10.1/libgnomevfs/.libs/libgnomevfs-2.so.0.1000.1
> /var/tmp/portage/gnome-vfs-2.10.1-r1/work/gnome-vfs-2.10.1/libgnomevfs/.libs/libgnomevfs-2.so.0.1000.1:
>  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
> 
> file /usr/lib/libgnomevfs-2.so.0.1000.1 /usr/lib/libgnomevfs-2.so.0.1000.1: 
> ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
> 
> 
> I think it could be something related to libtool when finally installing
> the library but I have no idea, I would appreciate ideas for what is
> happen here or what I am doing wrong...

You haven't said anything about having "nostrip" in your FEATURES, so
I'm guessing that's what you're missing...

Patrick Börjesson

--
PGP-Key: 4C5AB0BF
PGP-Keyserver: subkeys.pgp.net

Attachment: pgpePaRg6tS2R.pgp
Description: PGP signature

Reply via email to