Date: Sun, 25 Apr 2021 12:46:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255390] FIB_ALGO fails to build without VIMAGE due to -Werror Message-ID: <bug-255390-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255390 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@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: melifaro@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,-Wuninitiali= zed] uint32_t bucket_time_ms =3D V_bucket_time_ms; ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ sys/net/route/fib_algo.c:112:31: note: expanded from macro 'V_bucket_time_m= s' #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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255390-227>