Gentoo Archives: gentoo-dev

From: Chris White <chriswhite@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] emerging a library with debugging symbols
Date: Mon, 04 Jul 2005 03:15:43
Message-Id: 20050704204502.46fe89fd@localhost
In Reply to: [gentoo-dev] emerging a library with debugging symbols by "Nelson Benítez"
1 On Sun, 03 Jul 2005 16:04:38 +0000
2 Nelson Ben(D+?tez <gnel@×××××××××××××.com> wrote:
3
4 > Hello, Im trying to emerge a library (gnome-vfs) with debugging symbols
5 > so gdb can show me sources when debugging. To accomplish this I have
6 > emerged with pertinent cflags (-ggdb -O0) and with FEATURE "noclean" so
7 > the sources are still around after emerging. But for some strange reason
8 > the so file in the work directory has debugging symbols (not stripped)
9 > but the so file installed hasn't debugging symbols (stripped), as you
10 > can see here:
11 >
12 > file /var/tmp/portage/gnome-vfs-2.10.1-r1/work/gnome-vfs-2.10.1/libgnomevfs/.libs/libgnomevfs-2.so.0.1000.1
13 > /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
14 >
15 > 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
16
17
18 http://dev.gentoo.org/~chriswhite/bugzilla-howto.html
19
20 read the section on debugging with GDB for more information.
21
22 >
23 >
24 > --
25 > gentoo-dev@g.o mailing list
26 >
27 >