buildkernel failed - if_iwn.c: iwn_read_firmware (INVARIANTS again?)

Andrey Oktyabrskiy <[email protected]>
Newsgroups gmane.os.dragonfly-bsd.kernel
Message-ID <[email protected]>
I can't create new issue on bugs.dragonflybsd.org (Internal error in 
Redmine), so write message here.

$ cd /usr/src

$ uname -a
DragonFly px.bestmx.net 3.6-RELEASE DragonFly v3.6.0rc.1.g00b0e-RELEASE 
#0: Wed Nov  6 10:28:14 GMT 2013 
[email protected]:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

$ git pull
Already up-to-date.

$ cat /etc/make.conf
NO_BINUTILS221=yes
NO_GCC44=yes

$ diff -u sys/config/X86_64_GENERIC sys/config/ANO
--- sys/config/X86_64_GENERIC   2013-11-06 08:31:18.000000000 +0000
+++ sys/config/ANO      2013-11-08 09:05:49.000000000 +0000
@@ -8,7 +8,7 @@
  machine                x86_64
  machine_arch   x86_64
  cpu            HAMMER_CPU
-ident          X86_64_GENERIC
+ident          ANO
  maxusers       0
  #options       CPU_DISABLE_AVX

@@ -63,7 +63,7 @@
  # Debugging for Development
  options        DDB
  options        DDB_TRACE
-options        INVARIANTS
+#options       INVARIANTS

  device         isa
  device         pci

$ make buildkernel KERNCONF=ANO
...
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-inline 
  -Wno-pointer-sign -std=c99 -Wno-unused-but-set-variable -g -nostdinc 
-I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include 
-I/usr/obj/usr/src/sys/ANO -I"/usr/src/sys/dev/acpica" 
-I"/usr/src/sys/contrib/dev/acpica-unix/include" 
-I/usr/src/sys/dev/netif/ath/hal 
-I/usr/src/sys/dev/netif/ath/hal/ath_hal -I/usr/src/sys/dev/drm/include 
  -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 
-mno-avx2 -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-fma -mno-fma4 -mno-bmi 
-mno-bmi2 -mno-xop -mno-lwp -mno-lzcnt -mno-tbm -msoft-float 
-fno-asynchronous-unwind-tables -fno-omit-frame-pointer 
/usr/src/sys/dev/netif/iwn/if_iwn.c -Werror
/usr/src/sys/dev/netif/iwn/if_iwn.c: In function 'iwn_read_firmware':
/usr/src/sys/dev/netif/iwn/if_iwn.c:5676:2: error: implicit declaration 
of function 'IS_SERIALIZED' [-Werror=implicit-function-declaration]
/usr/src/sys/dev/netif/iwn/if_iwn.c:5676:2: error: nested extern 
declaration of 'IS_SERIALIZED' [-Werror=nested-externs]
cc1: all warnings being treated as errors
*** Error code 1

Stop.
make: stopped in /usr/obj/usr/src/sys/ANO
*** Error code 1

Stop.
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='/usr/src/Makefile.inc1'
.TARGETS='buildkernel'
.ERROR_TARGET='buildkernel'
.MAKE.LEVEL='1'
*** Error code 1

Stop.
make: stopped in /usr/src
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.