[PATCH] Shared library debug .symbols files

Ed Maste emaste at freebsd.org
Thu Dec 13 20:05:15 UTC 2012


On 13 December 2012 13:54, Konstantin Belousov <kostikbel at gmail.com> wrote:
> On Thu, Dec 13, 2012 at 04:08:47PM +0000, Ed Maste wrote:
...
>> This patch enables .symbols files for shared libraries when DEBUG_FLAGS
>> is set.  Future changes will be needed to address static libraries and
>> base system binaries, and the release build bits.
> You cannot strip static libraries, at least if you want the result
> to be useful for the consequent use.

Right, presumably I can use --strip-debug on static libraries and not
--strip-all (assuming that objcopy still leaves the required parts).


More information about the freebsd-hackers mailing list