https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255390
Bug ID: 255390
Summary: FIB_ALGO fails to build without VIMAGE due to -Werror
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Exposed by src 6993187a8c30
$ cat sys/amd64/conf/MYKERNEL
include GENERIC-NODEBUG
ident MYKERNEL
nooption VIMAGE
$ make buildkernel
[...]
sys/net/route/fib_algo.c:592:28: error: variable 'bucket_time_ms' is
uninitialized when used within its own initialization [-Werror,-Wuninitialized]
uint32_t bucket_time_ms = V_bucket_time_ms;
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
sys/net/route/fib_algo.c:112:31: note: expanded from macro 'V_bucket_time_ms'
#define V_bucket_time_ms VNET(bucket_time_ms)
^~~~~~~~~~~~~~
sys/net/vnet.h:436:20: note: expanded from macro 'VNET'
#define VNET(n) (n)
^
1 error generated.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"