From owner-freebsd-current Fri Mar 24 9:42:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 275DB37B59C for ; Fri, 24 Mar 2000 09:42:11 -0800 (PST) (envelope-from grog@mojave.worldwide.lemis.com) Received: from mojave.worldwide.lemis.com ([216.88.157.130]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id EAA05480; Sat, 25 Mar 2000 04:11:46 +1030 (CST) (envelope-from grog@mojave.worldwide.lemis.com) Received: (from grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.9.3) id JAA01584; Fri, 24 Mar 2000 09:41:28 -0800 (PST) (envelope-from grog) Date: Fri, 24 Mar 2000 09:41:28 -0800 From: Greg Lehey To: Matthew Dillon Cc: Brad Knowles , FreeBSD-CURRENT Mailing List Subject: Re: INVARIANTS doesn't work? Message-ID: <20000324094127.C1349@mojave.worldwide.lemis.com> Reply-To: Greg Lehey References: <200003231745.JAA02103@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003231745.JAA02103@apollo.backplane.com>; from dillon@apollo.backplane.com on Thu, Mar 23, 2000 at 09:45:31AM -0800 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 23 March 2000 at 9:45:31 -0800, Matthew Dillon wrote: >> (Brad Knowles ) >> Folks, >> >> It looks to me like setting INVARIANTS in your kernel doesn't >> work in 4.0-STABLE. >> >> ... >> reference to `zerror' >> /usr/src/sys/compile/AUDREY/../../vm/vm_zone.h:91: undefined reference to `zerror' >> vm_zone.o: In function `zfreei': >> /usr/src/sys/compile/AUDREY/../../vm/vm_zone.h:106: undefined reference to `zerror' >> vm_zone.o: In function `_zget': >> /usr/src/sys/compile/AUDREY/../../vm/vm_zone.c:373: undefined reference to `zerror' >> *** Error code 1 >> >> The kernel config is a bit large, so I will transmit it on >> request to interested parties, but I won't post it to the list unless >> specifically asked to do so. The one thing I'll note is that this >> might be an interaction between INVARIANTS and "makeoptions >> DEBUG=-g". I'll try turning off DEBUG and see if I can make a kernel >> that way.... > > I just did a full buildworld/installworld and complete recompile > of RELENG_4 last night with INVARIANTS turned on, and I use makeoptions > DEBUG=-g. It worked fine. > > Make sure you also specify the INVARIANT_SUPPORT options (note: this > one is not plural). Is there any good reason why we have two different options if they can only be used together? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message