Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2022 18:21:23 +0100 (CET)
From:      freebsd@oldach.net (Helge Oldach)
To:        jhb@FreeBSD.org (John Baldwin)
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   Re: git: 5ae69e2f10da - stable/13 - Import the WireGuard driver from zx2c4.com.
Message-ID:  <202211141721.2AEHLOXQ006565@nuc.oldach.net>
In-Reply-To: <07fd8a93-b477-43fa-874e-3eabf52486a7@FreeBSD.org> from John Baldwin at "14 Nov 2022 08:55:26"

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote on Mon, 14 Nov 2022 17:55:26 +0100 (CET):
> On 11/12/22 9:42 AM, Helge Oldach wrote:
> > John Baldwin wrote on Fri, 11 Nov 2022 23:04:20 +0100 (CET):
> >> The branch stable/13 has been updated by jhb:
> >>
> >> URL: https://cgit.FreeBSD.org/src/commit/?id=5ae69e2f10dacd750b0f0e9284fefcbe97eb0476
> >>
> >> commit 5ae69e2f10dacd750b0f0e9284fefcbe97eb0476
> >> Author:     John Baldwin <jhb@FreeBSD.org>
> >> AuthorDate: 2022-10-28 20:36:12 +0000
> >> Commit:     John Baldwin <jhb@FreeBSD.org>
> >> CommitDate: 2022-11-11 21:44:11 +0000
> >>
> >>      Import the WireGuard driver from zx2c4.com.
> > 
> > Is perhaps an #include <sys/proc.h> missing in if_wg.c?
> > 
> > I'm getting below error on stable/13-n252920-0baacb12181. After manually adding said header include, it compiles cleanly.
> 
> Do you have a custom kernel config?

Sort of:
include MINIMAL
nooption XENHVM
nodevice xenpci

/etc/src.conf has:
WITHOUT_CLEAN=
WITHOUT_DEBUG_FILES=
WITHOUT_KERNEL_SYMBOLS=
WITHOUT_SENDMAIL=
WITHOUT_TESTS=

That's all.

I ran a make buildworld buildkernel with empty OBJDIR and that complained at exactly the same step (and continued flawlessly once I added said #include).

I have noticed that the if_wg.c on git.zx2c4.com/wireguard-freebsd *has* an #include <sys/proc.h>.

I'm seeing the same behaviour on 3 different amd64 machines. One is stable/13-n253075-2b20cade1eca, two are stable/13-n252920-0baacb12181.

Kind regards
Helge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211141721.2AEHLOXQ006565>