DragonFly BSD
DragonFly users List (threaded) for 2012-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Can't compile kernel without INVARIANTS


From: "Andrey N. Oktyabrski" <ano@xxxxxxxxx>
Date: Thu, 05 Apr 2012 14:37:46 +0400

DragonFly 3.0-RELEASE v3.0.1.21.g11c31-RELEASE x86_64

04:20 ano@df:/usr/src:$ diff -uw sys/config/X86_64_GENERIC sys/config/DF
--- sys/config/X86_64_GENERIC   2012-03-07 10:09:19.000000000 +0400
+++ sys/config/DF       2012-03-18 00:02:29.000000000 +0400
@@ -8,7 +8,7 @@
  machine                x86_64
  machine_arch   x86_64
  cpu            HAMMER_CPU
-ident          X86_64_GENERIC
+ident          DF
  maxusers       0

  makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug 
symbols
@@ -68,7 +68,7 @@
  # Debugging for Development
  options        DDB
  options        DDB_TRACE
-options        INVARIANTS
+#options       INVARIANTS

  device         isa
  device         pci
04:27 ano@df:/usr/src:$ make buildkernel KERNCONF=DF
...
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Wold-style-definition -std=c99 -Wold-style-declaration -g 
-nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include 
-I/usr/obj/usr/src/sys/DF -I"/usr/src/sys/dev/acpica5" 
-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  -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-tables -fno-omit-frame-pointer 
/usr/src/sys/vfs/ufs/ffs_softdep.c -Werror
cc1: warnings being treated as errors
/usr/src/sys/vfs/ufs/ffs_softdep.c:250: error: 'lock_held' defined but 
not used
*** Error code 1

Stop in /usr/obj/usr/src/sys/DF.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]