Date: Tue, 6 Nov 2012 17:40:01 GMT From: Ed Maste <emaste@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/153157: [build] [patch] Add support for generating userland debug symbols during installworld Message-ID: <201211061740.qA6He1fW038536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/153157; it has been noted by GNATS.
From: Ed Maste <emaste@freebsd.org>
To: bug-followup@FreeBSD.org, markjdb@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211061740.qA6He1fW038536>
