Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2010 17:24:40 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-hackers@freebsd.org, Peter Steele <psteele@maxiscale.com>
Subject:   Re: ntpd hangs under FBSD 8
Message-ID:  <201002241724.40876.jhb@freebsd.org>
In-Reply-To: <20100224220947.GX50403@deviant.kiev.zoral.com.ua>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D5C73@MBX03.exg5.exghost.com> <201002241517.25659.jhb@freebsd.org> <20100224220947.GX50403@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wednesday 24 February 2010 5:09:47 pm Kostik Belousov wrote:
> On Wed, Feb 24, 2010 at 03:17:25PM -0500, John Baldwin wrote:
> > On Wednesday 24 February 2010 1:17:50 pm Peter Steele wrote:
> > > >You're going to need a debug version of libc, too.  gdb won't be able to 
> > find a backtrace out of a libc function without it.
> > > 
> > > What's the proper way to build a debug version of libc and the other 
> > libraries? I tried this:
> > 
> > You can just do this:
> > 
> > cd /usr/src/lib/libc
> > make clean
> > make DEBUG_FLAGS=-g
> > make install
> 
> make install should be done with DEBUG_FLAGS containing -g too, otherwise
> strip(1) is called on the installed binary.

Doh, yes.

-- 
John Baldwin



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