[libvirt] [PATCH 2/2] build: relax the relaxed stack frame limit further

Daniel Henrique Barboza danielhb413 at gmail.com
Tue Dec 17 10:43:05 UTC 2019



On 12/14/19 6:49 PM, Ján Tomko wrote:
> Pick 256k as the limit.
> 
> While -Wno-frame-larger-than would make more sense for usage
> in our test suite, the -Wno version seems to have no effect
> if -Wframe-larger-than was already specified.
> 
> Use an (un)reasonably large value instead.
> 
> Fixes the build with clang:
> ../../tests/cputest.c:964:1: error: stack frame size of 33176 bytes
> in function 'mymain' [-Werror,-Wframe-larger-than=]
> mymain(void)
> ^
> 1 error generated.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---


Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>





More information about the libvir-list mailing list