Re: Kernel build failure

John Klos <[email protected]> Sun, 24 Jan 2021 19:12:06 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
> Does anyone know what combination of options is required to get a kernel
> to build ?
>
> I'm getting stack usage errors in uvm_bio.c that I'm guessing is down to
> changes in how MAX_PAGE_SIZE is defined:
>
> ../../../../uvm/uvm_bio.c: In function 'ubc_fault':
> ../../../../uvm/uvm_bio.c:304:1: error: stack usage might be unbounded [-Werror=stack-usage=]
>  304 | ubc_fault(struct uvm_faultinfo *ufi, vaddr_t ign1, struct vm_page **ign2,
>      | ^~~~~~~~~

Perhaps old build directories? I just updated a -current tree and ran:

./build.sh -j 16 -m mac68k tools kernel=GENERIC

with no problems.

John