misc/153157: [build] [patch] Add support for generating userland debug symbols during installworld
Ed Maste
emaste at freebsd.org
Tue Nov 6 17:40:01 UTC 2012
The following reply was made to PR misc/153157; it has been noted by GNATS.
From: Ed Maste <emaste at freebsd.org>
To: bug-followup at FreeBSD.org, markjdb at gmail.com
Cc:
Subject: Re: misc/153157: [build] [patch] Add support for generating userland
debug symbols during installworld
Date: Tue, 6 Nov 2012 12:32:32 -0500
Now that I've had a chance to look at the patch in detail I see
another issue - STRIPBIN is set to the absolute path
/usr/src/tools/stripbin.sh and will not use the file in the source
tree.
To address this and more easily accommodate changes that brooks@ has
in the pipeline we could follow the model used in kern.post.mk:
explicitly invoke objcopy --only-keep-debug and --add-gnu-debuglink.
It does mean we'd need to build ${PROG}.debug though, and objcopy to
${PROG} and ${PROG}.symbols in the objdir.
More information about the freebsd-bugs
mailing list