From owner-freebsd-questions@FreeBSD.ORG Fri Dec 28 19:51:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7331916A469 for ; Fri, 28 Dec 2007 19:51:07 +0000 (UTC) (envelope-from b_oshea@yahoo.com) Received: from web39509.mail.mud.yahoo.com (web39509.mail.mud.yahoo.com [209.191.106.93]) by mx1.freebsd.org (Postfix) with SMTP id 10BF113C4F8 for ; Fri, 28 Dec 2007 19:51:06 +0000 (UTC) (envelope-from b_oshea@yahoo.com) Received: (qmail 35520 invoked by uid 60001); 28 Dec 2007 19:51:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=uyBwxGFe5vD2DKy6MIvbHv7TAbcSLAJqz49nit3QWsPK33UqJJridKwFb0kh7XtD+MOXtJ/rkctqwj3uiJN65VCnA630FmMHKDXkU3J1BDmWVERuTIwSsnI/JMORabhsCqvwUL4wLiQorMjtBmJFmIhro8hLVfY/mzq/RnFSSWY=; X-YMail-OSG: nI7XgzQVM1lwhDnqKON9tmvTf8JvKPbwIGQDnAclnGq2WGlFDwWm8Hnw6CkhsX3QK6BlQa8MRfIjurVM6jA8VuRwZZb_Qy4GgTL9GikNF7zPKHbhQj4- Received: from [67.170.228.141] by web39509.mail.mud.yahoo.com via HTTP; Fri, 28 Dec 2007 11:51:06 PST Date: Fri, 28 Dec 2007 11:51:06 -0800 (PST) From: Brian O'Shea To: Kris Kennaway In-Reply-To: <4774E1B8.1080500@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <89106.34681.qm@web39509.mail.mud.yahoo.com> Cc: FreeBSD Questions Subject: Re: buildkernel with INVARIANTS, WITNESS, DEBUG_LOCKS, etc. fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 19:51:07 -0000 Thank you for your reply, Kris. --- Kris Kennaway 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