[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Nov 5 03:45:23 PST 2014


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-admin at 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     lhm at 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':
/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     lhm at 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



More information about the Bugs mailing list