Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 11:51:06 -0800 (PST)
From:      Brian O'Shea <b_oshea@yahoo.com>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: buildkernel with INVARIANTS, WITNESS, DEBUG_LOCKS, etc. fails
Message-ID:  <89106.34681.qm@web39509.mail.mud.yahoo.com>
In-Reply-To: <4774E1B8.1080500@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for your reply, Kris.

--- Kris Kennaway <kris@FreeBSD.org> wrote:
> 
> Brian O'Shea wrote:
> > Hello FreeBSD developers,
> > 
> > Building a FreeBSD 6.2-RELEASE kernel on an Intel Pentium 4 with the
> > following config options causes buildkernel to fail with undefined
> > references to stack_save, stack_zero, and stack_print functions:
> > 
> > makeoptions DEBUG=-g

options     KDB
options     DDB

> > options     INVARIANTS
> > options     INVARIANT_SUPPORT
> > options     WITNESS
> > options     DEBUG_LOCKS
> > options     DEBUG_VFS_LOCKS
> > options     DIAGNOSTIC
> > 
...

> I think you also need DDB.

I added the KDB and DDB options and now the buildkernel succeeds.  Now
hopefully I can get a crash dump and (try to) start debuging my problem.

> This is a minor bug which you could send-pr about if you like.

Would this be a docs bug, or a config bug?

Thanks,
-brian




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



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