Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2023 11:57:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271651] MINIMAL-based NOINET kernel build fails after base 98d06eea14a5
Message-ID:  <bug-271651-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271651

            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=3D242421&action=
=3Dedit
legacyipbegone.diff

$ cp sys/amd64/conf/MINIMAL sys/amd64/conf/MINIMAL-NOINET
$ echo "nooptions INET" >> sys/amd64/conf/MINIMAL-NOINET
$ make KERNCONF=3DMINIMAL-NOINET NO_MODULES=3Dyes -j$(nproc) buildkernel

[...]
--- in6_pcb.o ---=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
/usr/src/sys/netinet6/in6_pcb.c:571:16: error: variable 'inp' set but not u=
sed
[-Werror,-Wunused-but-set-variable]
        struct  inpcb *inp;
                       ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
/usr/src/sys/netinet6/in6_pcb.c:595:16: error: variable 'inp' set but not u=
sed
[-Werror,-Wunused-but-set-variable]
        struct  inpcb *inp;
                       ^=20=20=20=20
2 errors generated.
*** [in6_pcb.o] Error code 1
[...]

"Blind" diff (built, but I didn't look if it's right) attached.

--=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-271651-227>