[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by ftigeot. Just to clarify, this is about building a special kernel without INET6 support, right ? Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12246 * Author: lhmwzy * Status: New * 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 l...@xxxreli.com:/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
[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by lhmwzy. YES,I don't have any inet6 now,so I don't need inet6. 2014-11-05 16:02 GMT+08:00 bugtracker-ad...@leaf.dragonflybsd.org: Issue #2729 has been updated by ftigeot. Just to clarify, this is about building a special kernel without INET6 support, right ? Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12246 * Author: lhmwzy * Status: New * 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 l...@xxxreli.com:/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 Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12248 * Author: lhmwzy * Status: New * 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
[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by ftigeot. Thanks for the patch, it has been pushed to -master. Even though it allows pf(4) to build, I still wouldn't count on it working properly afterwards. Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12257 * Author: lhmwzy * Status: New * 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 l...@xxxreli.com:/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
[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by lhmwzy. YES,there is still issue. After build complete,run kldload pf give error kldload: an error occurred while loading the module. Please check dmesg(8) for more details. dmesg shows: link_elf_obj_obj: symbol bpf_mtap_hdr undefined linker_load_file: Unsupported file type 2014-11-05 18:15 GMT+08:00 bugtracker-ad...@leaf.dragonflybsd.org: Issue #2729 has been updated by ftigeot. Thanks for the patch, it has been pushed to -master. Even though it allows pf(4) to build, I still wouldn't count on it working properly afterwards. Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12257 * Author: lhmwzy * Status: New * 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 l...@xxxreli.com:/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 Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12259 * 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':
[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by lhmwzy. sorry for my urgent. It needs to add pseudo-device bpf to kernel config. After add and make kernel again,all run well Thanks for everyone's reply. 2014-11-05 19:45 GMT+08:00 bugtracker-ad...@leaf.dragonflybsd.org: Issue #2729 has been updated by lhmwzy. YES,there is still issue. After build complete,run kldload pf give error kldload: an error occurred while loading the module. Please check dmesg(8) for more details. dmesg shows: link_elf_obj_obj: symbol bpf_mtap_hdr undefined linker_load_file: Unsupported file type 2014-11-05 18:15 GMT+08:00 bugtracker-ad...@leaf.dragonflybsd.org: Issue #2729 has been updated by ftigeot. Thanks for the patch, it has been pushed to -master. Even though it allows pf(4) to build, I still wouldn't count on it working properly afterwards. Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12257 * Author: lhmwzy * Status: New * 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 l...@xxxreli.com:/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 Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error http://bugs.dragonflybsd.org/issues/2729#change-12259 * 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
[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by lhmwzy. the kernel config: platformpc64 machine x86_64 machine_archx86_64 cpu HAMMER_CPU ident lhmwzy maxusers0 #optionsCPU_DISABLE_AVX options INET#InterNETworking options HAMMER #Hammer Filesystem options NULLFS #NULL filesystem options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options TMPFS #Temporary Filesystem #optionsMD_ROOT #MD is a potential root device #optionsNFS #Network Filesystem #optionsNFS_ROOT#NFS usable as root device, NFS required #optionsMSDOSFS #MSDOS Filesystem #optionsCD9660 #ISO 9660 Filesystem ##options PROCFS #Process filesystem #optionsCOMPAT_43 #Compatible with BSD 4.3 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI ##options IFPOLL_ENABLE # Support mixed interrupt-polling # handling of network device drivers ##options UCONSOLE#Allow users to grab the console options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores ##options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM#Rate limit bad replies options KBD_INSTALL_CDEV# install a CDEV entry in /dev ##options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. ##options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options DSCHED_FQ # Fair-queuing disk scheduler # ALTQ #optionsALTQ#alternate queueing #optionsALTQ_CBQ#class based queueing #optionsALTQ_RED#random early detection #optionsALTQ_RIO#triple red for diffserv (needs RED) #optionsALTQ_HFSC #hierarchical fair service curve #optionsALTQ_PRIQ #priority queue #optionsALTQ_FAIRQ #fair queueing #optionsALTQ_NOPCC #don't use processor cycle counter #optionsALTQ_DEBUG #for debugging # Debugging for Development #optionsDDB #optionsDDB_TRACE #optionsINVARIANTS device isa device pci # AHCI driver, this will override NATA for AHCI devices, # both drivers may be included. # device ahci # NEW-ATA (NATA) and ATAPI devices # device nata device natadisk# ATA disk drives #device natapicd# ATAPI CDROM drives #device natapifd# ATAPI floppy drives #device natapist# ATAPI tape drives #device natapicam # Emulate ATAPI devices as SCSI #device nataraid# support for ATA software RAID # controllers #device natausb # ATA-over-USB support options ATA_STATIC_ID # Static device numbering # SCSI peripherals device mpt device scbus # SCSI bus (required) device da # Direct Access (disks) #device cd # CD device pass# Passthrough device (direct SCSI access) #device sg # Passthrough device (linux scsi generic) # VirtIO support #device virtio # VirtIO core #device virtio_blk # VirtIO disk driver #device virtio_pci # VirtIO transport over PCI bus # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0at atkbdc? irq 12 device vga0at isa? # kbdmux is the keyboard multiplexer device kbdmux # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 options SC_PIXEL_MODE # add support for the raster text mode device agp
[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error
Issue #2729 has been updated by lhmwzy. make a patch and solved it. please review it. --- sys/net/pf/pf_table.c.orig 2014-11-05 12:37:46.563579000 +0800 +++ sys/net/pf/pf_table.c 2014-11-05 12:26:31.879782000 +0800 @@ -1976,7 +1976,9 @@ struct pfr_kentry *ke = NULL; int match; struct sockaddr_in pfr_sin; +#ifdef INET6 struct sockaddr_in6 pfr_sin6; +#endif if (!(kt-pfrkt_flags PFR_TFLAG_ACTIVE) kt-pfrkt_root != NULL) kt = kt-pfrkt_root; @@ -2023,7 +2025,9 @@ { struct pfr_kentry *ke = NULL; struct sockaddr_in pfr_sin; +#ifdef INET6 struct sockaddr_in6 pfr_sin6; +#endif if (!(kt-pfrkt_flags PFR_TFLAG_ACTIVE) kt-pfrkt_root != NULL) kt = kt-pfrkt_root; 2014-11-05 12:23 GMT+08:00 bugtracker-ad...@leaf.dragonflybsd.org: Issue #2729 has been updated by lhmwzy. the kernel config: platformpc64 machine x86_64 machine_archx86_64 cpu HAMMER_CPU ident lhmwzy maxusers0 #optionsCPU_DISABLE_AVX options INET#InterNETworking options HAMMER #Hammer Filesystem options NULLFS #NULL filesystem options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options TMPFS #Temporary Filesystem #optionsMD_ROOT #MD is a potential root device #optionsNFS #Network Filesystem #optionsNFS_ROOT#NFS usable as root device, NFS required #optionsMSDOSFS #MSDOS Filesystem #optionsCD9660 #ISO 9660 Filesystem ##options PROCFS #Process filesystem #optionsCOMPAT_43 #Compatible with BSD 4.3 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI ##options IFPOLL_ENABLE # Support mixed interrupt-polling # handling of network device drivers ##options UCONSOLE#Allow users to grab the console options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores ##options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM#Rate limit bad replies options KBD_INSTALL_CDEV# install a CDEV entry in /dev ##options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. ##options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options DSCHED_FQ # Fair-queuing disk scheduler # ALTQ #optionsALTQ#alternate queueing #optionsALTQ_CBQ#class based queueing #optionsALTQ_RED#random early detection #optionsALTQ_RIO#triple red for diffserv (needs RED) #optionsALTQ_HFSC #hierarchical fair service curve #optionsALTQ_PRIQ #priority queue #optionsALTQ_FAIRQ #fair queueing #optionsALTQ_NOPCC #don't use processor cycle counter #optionsALTQ_DEBUG #for debugging # Debugging for Development #optionsDDB #optionsDDB_TRACE #optionsINVARIANTS device isa device pci # AHCI driver, this will override NATA for AHCI devices, # both drivers may be included. # device ahci # NEW-ATA (NATA) and ATAPI devices # device nata device natadisk# ATA disk drives #device natapicd# ATAPI CDROM drives #device natapifd# ATAPI floppy drives #device natapist# ATAPI tape drives #device natapicam # Emulate ATAPI devices as SCSI #device nataraid# support for ATA software RAID # controllers #device natausb # ATA-over-USB support options ATA_STATIC_ID # Static device numbering # SCSI peripherals device mpt device scbus # SCSI bus (required)