Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2007 21:47:52 +0200
From:      "Herbert J. Skuhra" <h.skuhra@gmail.com>
To:        questions@FreeBSD.org
Subject:   Re: Building UNSTRIPPED binaries in ports?
Message-ID:  <20070821194751.GA527@oslo.ath.cx>
In-Reply-To: <20070821135923.Q64507@prime.gushi.org>
References:  <20070821135923.Q64507@prime.gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Mahoney skrev: 
> Hello,
>
> 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
or
% sudo make STRIP="" WITH_DEBUG=1 install clean

In case of dns/bind94 the first should be fine.

- Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070821194751.GA527>