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 <[EMAIL PROTECTED]>)
: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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message