There is a bug in kernel code preventing from kernel being build:
cc -c -O3 -pipe -march=native -fno-strict-aliasing -march=native
-std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
-fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables
-ffreestanding -fstack-protector -Werror /usr/src/sys/kern/uipc_socket.c
/usr/src/sys/kern/uipc_socket.c:262:19: error: static declaration of
'socket_zone' follows non-static declaration
static uma_zone_t socket_zone;
^
/usr/src/sys/sys/socketvar.h:297:25: note: previous definition is here
extern struct uma_zone *socket_zone;
^
1 error generated.
*** [uipc_socket.o] Error code 1Stop in /usr/obj/usr/src/sys/GATE. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. Just want to note. Regards, Oliver
signature.asc
Description: OpenPGP digital signature
