Current-Users archive

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

Re: Build error on amd64 -current



Fixed in rev.1.137 of sys/arch/xen/x86/cpu.c

Le sam. 27 juin 2020 à 11:42, Jaromír Doleček
<jaromir.dolecek%gmail.com@localhost> a écrit :
>
> I'll fix it.
>
> Le sam. 27 juin 2020 à 11:39, Andreas Gustafsson <gson%gson.org@localhost> a écrit :
> >
> > 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