Subject: Re: Kernel build failure - kern_rwlock.o + LOCKDEBUG
To: None <current-users@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 12/05/2007 06:03:33
(Please note corrected address - there is no port-i396 last time I 
looked!)

On Wed, 5 Dec 2007, Paul Goyette wrote:

> It seems that the following error occurs whenever kernel option LOCKDEBUG is 
> turned on - this happens by default on the XEN* kernels.
>
> Sources are up-to-the-minute (well, maybe 15 or 20 minutes old!)
>
> kern_rwlock.o: In function `rw_vector_enter':
> /usr/src/sys/kern/kern_rwlock.c:257: undefined reference to `cpu_intr_p'
>
> If LOCKDEBUG is not enabled, the RW_ASSERT gets #defined to nothing.

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------