Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2010 11:09:57 -0700
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        arch@freebsd.org, Fabien Thomas <thomas.fabien@gmail.com>
Subject:   Re: Time to stop stripping binaries?
Message-ID:  <AANLkTikny8qXkrrEVVwF0M6BoNPBl7Wu7W3MwPu2b_jc@mail.gmail.com>
In-Reply-To: <AANLkTikZHGoC8Oy74Scssfm_QVFO-r3qkz4LIq3a6B97@mail.gmail.com>
References:  <20100617.143334.584432776655157077.imp@bsdimp.com> <20100618201737.T41916@delplex.bde.org> <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> <AANLkTikZHGoC8Oy74Scssfm_QVFO-r3qkz4LIq3a6B97@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 22, 2010 at 2:32 AM, Adrian Chadd <adrian@freebsd.org> wrote:
> On 21 June 2010 14:41, Fabien Thomas <thomas.fabien@gmail.com> wrote:
>
>> Having base symbols will help if you do PMC on the system for example.
>> I'm always building with DONTSTRIP=1 to have it at the moment.
>
> ISTR someone pointing out that there's a "magical" (ie, I don't
> understand it) way to optionally have debugging symbols as extra
> file(s), rather than having to ship extremely large shared libraries
> by default.

    See this link:
http://old.nabble.com/-gcc--separate-debug-infos-td21591416.html .
It's similar to what I've seen some internal groups do before in the
past.

> On another hand, the Linux box I'm using oprofile on has a libc6-dbg
> package which includes the extra symbols in libraries which populate
> /usr/lib/debug/ . I haven't the foggiest clue how the linker (and
> opreport) know how to use which and when.

Cheers,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikny8qXkrrEVVwF0M6BoNPBl7Wu7W3MwPu2b_jc>