Issue #2729 has been updated by marino. Status changed from New to Closed
In the future, I'd make it extremely clear in the very first lines that you are getting an error while building a CUSTOM kernel. That doesn't make your report any less valid but it definitely helps to frame the problem. Closing PR as it was committed in master (maybe 4.0 too, pending) ---------------------------------------- Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12258 * Author: lhmwzy * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wold-style-definition -Wno-inline -Wno-pointer-sign -Winit-self -std=c99 -Wno-unused-but-set-variable -Werror -DKLD_MODULE -nostdinc -I. -I@ -I/usr/obj/usr/src/sys/lhmwzy -I/usr/obj/usr/src/sys/lhmwzy/include -I@/../include -include /usr/obj/usr/src/sys/lhmwzy/opt_global.h -fno-omit-frame-pointer -Wold-style-declaration -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -fno-stack-protector -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -mpreferred-stack-boundary=4 -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 -std=gnu99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wold-style-definition -Wno-inline -Wno-pointer-sign -Winit-self -std=c99 -Wno-unused-but-set-variable -c /usr/src/sys/net/pf/pf_table.c /usr/src/sys/net/pf/pf_table.c: In function 'pfr_match_addr': /usr/src/sys/net/pf/pf_table.c:1979:23: error: unused variable 'pfr_sin6' [-Werror=unused-variable] /usr/src/sys/net/pf/pf_table.c: In function 'pfr_update_stats': /usr/src/sys/net/pf/pf_table.c:2026:23: error: unused variable 'pfr_sin6' [-Werror=unused-variable] cc1: all warnings being treated as errors *** Error code 1 Stop. make[4]: stopped in /usr/src/sys/net/pf *** Error code 1 #git status On branch DragonFly_RELEASE_4_0 #cat /etc/make.conf MODULES_WITH_WORLD=true MODULES_OVERRIDE = dev/acpica net/pf uname -a DragonFly 3.8-RELEASE DragonFly v3.8.2.22.g2464c-RELEASE #3: Mon Nov 3 14:20:51 CST 2014 [email protected]:/usr/obj/usr/src/sys/lhmwzy x86_64 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
