Gentoo Archives: gentoo-dev

From: "Patrick Börjesson" <psycho@××××××××.cx>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] emerging a library with debugging symbols
Date: Sun, 03 Jul 2005 16:20:36
Message-Id: 20050703161814.GA7232@nexon
In Reply to: [gentoo-dev] emerging a library with debugging symbols by "Nelson Benítez"
1 On 05/07/03(Sun) 16:04, Nelson Benítez wrote:
2 > Hello, Im trying to emerge a library (gnome-vfs) with debugging symbols
3 > so gdb can show me sources when debugging. To accomplish this I have
4 > emerged with pertinent cflags (-ggdb -O0) and with FEATURE "noclean" so
5 > the sources are still around after emerging. But for some strange reason
6 > the so file in the work directory has debugging symbols (not stripped)
7 > but the so file installed hasn't debugging symbols (stripped), as you
8 > can see here:
9 >
10 > file /var/tmp/portage/gnome-vfs-2.10.1-r1/work/gnome-vfs-2.10.1/libgnomevfs/.libs/libgnomevfs-2.so.0.1000.1
11 > /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
12 >
13 > 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
14 >
15 >
16 > I think it could be something related to libtool when finally installing
17 > the library but I have no idea, I would appreciate ideas for what is
18 > happen here or what I am doing wrong...
19
20 You haven't said anything about having "nostrip" in your FEATURES, so
21 I'm guessing that's what you're missing...
22
23 Patrick Börjesson
24
25 --
26 PGP-Key: 4C5AB0BF
27 PGP-Keyserver: subkeys.pgp.net