Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: i386 9.99.17 build fails for NET4501 kernel
On Mon, 14 Oct 2019, Patrick Welche wrote:
> On Sun, Oct 13, 2019 at 04:31:08PM -0500, John D. Baker wrote:
> > Building the NET4501 kernel with 9.99.17 sources fails with:
> >
> > /x/current/src/sys/arch/x86/x86/vm_machdep.c: In function 'cpu_lwp_fork':
> > /x/current/src/sys/arch/x86/x86/vm_machdep.c:134:21: error: variable 'pcb2' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
> > struct pcb *pcb1, *pcb2;
>
> I can reproduce this on amd64 with:
>
> include "arch/amd64/conf/GENERIC"
> no options DIAGNOSTIC
And un-commenting "options DIAGNOSTIC" in the "NET4501" config file
allows it to build.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index