ntpd hangs under FBSD 8

John Baldwin jhb at freebsd.org
Wed Feb 24 22:36:35 UTC 2010


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


More information about the freebsd-hackers mailing list