[Bug 271651] MINIMAL-based NOINET kernel build fails after base 98d06eea14a5
Date: Fri, 26 May 2023 11:57:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271651
Bug ID: 271651
Summary: MINIMAL-based NOINET kernel build fails after base
98d06eea14a5
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: throwaway_vthgwq4@protonmail.com
Created attachment 242421
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242421&action=edit
legacyipbegone.diff
$ cp sys/amd64/conf/MINIMAL sys/amd64/conf/MINIMAL-NOINET
$ echo "nooptions INET" >> sys/amd64/conf/MINIMAL-NOINET
$ make KERNCONF=MINIMAL-NOINET NO_MODULES=yes -j$(nproc) buildkernel
[...]
--- in6_pcb.o ---
/usr/src/sys/netinet6/in6_pcb.c:571:16: error: variable 'inp' set but not used
[-Werror,-Wunused-but-set-variable]
struct inpcb *inp;
^
/usr/src/sys/netinet6/in6_pcb.c:595:16: error: variable 'inp' set but not used
[-Werror,-Wunused-but-set-variable]
struct inpcb *inp;
^
2 errors generated.
*** [in6_pcb.o] Error code 1
[...]
"Blind" diff (built, but I didn't look if it's right) attached.
--
You are receiving this mail because:
You are the assignee for the bug.