Time to stop stripping binaries?

Garrett Cooper gcooper at FreeBSD.org
Tue Jun 22 18:38:02 UTC 2010


On Tue, Jun 22, 2010 at 2:32 AM, Adrian Chadd <adrian at freebsd.org> wrote:
> On 21 June 2010 14:41, Fabien Thomas <thomas.fabien at 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


More information about the freebsd-arch mailing list