There's a fix that probably did not get MFC'd:<div><br></div><div><a href="http://bugs.dragonflybsd.org/issues/2446">http://bugs.dragonflybsd.org/issues/2446</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Dec 18, 2012 at 4:09 AM, Andrey N. Oktyabrski <span dir="ltr"><<a href="mailto:ano@bestmx.ru" target="_blank">ano@bestmx.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12/17/2012 09:07 AM, Justin Sherrill wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I tagged release 3.2.2:<br>
</blockquote>
As usual (!) I can't build kernel without INVARIANTS:<br>
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wold-style-definition -Wold-style-declaration -Wno-pointer-sign -std=c99 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include -I/usr/obj/usr/src/sys/COW -I"/usr/src/sys/dev/acpica5" -I"/usr/src/sys/contrib/dev/<u></u>acpica-unix/include" -I/usr/src/sys/dev/netif/ath/<u></u>hal -I/usr/src/sys/dev/netif/ath/<u></u>hal/ath_hal -D_KERNEL -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -mpreferred-stack-boundary=4 -fno-stack-protector -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt -msoft-float -fno-asynchronous-unwind-<u></u>tables -fno-omit-frame-pointer /usr/src/sys/kern/kern_<u></u>spinlock.c -Werror<br>
/usr/src/sys/kern/kern_<u></u>spinlock.c: In function 'spin_lock_contested':<br>
/usr/src/sys/kern/kern_<u></u>spinlock.c:211: error: 'spin_lock_test_mode' undeclared (first use in this function)<br>
/usr/src/sys/kern/kern_<u></u>spinlock.c:211: error: (Each undeclared identifier is reported only once<br>
/usr/src/sys/kern/kern_<u></u>spinlock.c:211: error: for each function it appears in.)<br>
/usr/src/sys/kern/kern_<u></u>spinlock.c: In function 'spin_lock_shared_contested':<br>
/usr/src/sys/kern/kern_<u></u>spinlock.c:268: error: 'spin_lock_test_mode' undeclared (first use in this function)<br>
*** Error code 1<br>
<br>
Stop in /usr/obj/usr/src/sys/COW.<br>
*** Error code 1<br>
<br>
Stop in /usr/src.<br>
*** Error code 1<br>
<br>
Stop in /usr/src.<br>
<br>
<br>
</blockquote></div><br></div>