Port-mac68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Kernel build failure



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,
      | ^~~~~~~~~
../../../../uvm/uvm_bio.c: In function 'ubc_uiomove':
../../../../uvm/uvm_bio.c:734:1: error: stack usage might be unbounded [-Werror=stack-usage=]
  734 | ubc_uiomove(struct uvm_object *uobj, struct uio *uio, vsize_t todo, int advice,
      | ^~~~~~~~~~~
../../../../uvm/uvm_bio.c: In function 'ubc_zerorange':
../../../../uvm/uvm_bio.c:801:1: error: stack usage might be unbounded [-Werror=stack-usage=]
  801 | ubc_zerorange(struct uvm_object *uobj, off_t off, size_t len, int flags)
      | ^~~~~~~~~~~~~


Home | Main Index | Thread Index | Old Index