From owner-freebsd-current Thu Mar 23 9:45:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id D450A37C49F for ; Thu, 23 Mar 2000 09:45:38 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id JAA02103; Thu, 23 Mar 2000 09:45:31 -0800 (PST) (envelope-from dillon) Date: Thu, 23 Mar 2000 09:45:31 -0800 (PST) From: Matthew Dillon Message-Id: <200003231745.JAA02103@apollo.backplane.com> To: Brad Knowles Cc: FreeBSD-CURRENT Mailing List Subject: Re: INVARIANTS doesn't work? References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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). -Matt :(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.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message