Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build error on amd64 -current
Paul Goyette wrote:
> With up-to-date sources I'm getting
>
> /build/netbsd-compat/src_ro/sys/arch/xen/x86/cpu.c: In function 'mp_cpu_start':
> /build/netbsd-compat/src_ro/sys/arch/xen/x86/cpu.c:999:1: error: stack usage is5408 bytes [-Werror=stack-usage=]
> mp_cpu_start(struct cpu_info *ci, vaddr_t target)
> ^~~~~~~~~~~~
It started with this commit:
2020.06.25.14.52.26 jdolecek src/sys/conf/Makefile.kern.inc 1.274
enable gcc stack usage limit for kernel functions, set to 3.5 KiB for now
as that seems to be enough to accomodate the current biggest stack usages
there are about six functions which use over 3KiB local stack, and
about a dozen between 2-3 KiB, so pushing this further needs more work
if desired
compile tested on amd64, i386, sparc64, sparc, powerpc (evbppc - BookE),
m68k (mac68k)
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index