[Bug 255390] FIB_ALGO fails to build without VIMAGE due to -Werror
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 25 12:46:09 UTC 2021
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: bugs at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: melifaro at FreeBSD.org
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.
More information about the freebsd-bugs
mailing list