Building UNSTRIPPED binaries in ports?
Herbert J. Skuhra
h.skuhra at gmail.com
Tue Aug 21 13:12:17 PDT 2007
Dan Mahoney skrev:
> I am encountering a bug with named-9.4.1-P1 that I am attempting to work
> with ISC on, that I have built from ports (dns/bind94). However, I need a
> non-stripped version of the binary to get a backtrace. I can't "roll my
> own" binary because it may be related to some way that the port is built
> so I need to maintain a similar build environment.
> Is there some make.conf or compile time flag that I can set that would
> prevent the stripping from happening?
You can try:
% cd /usr/ports/dns/bind94
% sudo make WITH_DEBUG=1 install clean
% sudo make STRIP="" WITH_DEBUG=1 install clean
In case of dns/bind94 the first should be fine.
More information about the freebsd-questions