[libvirt] [PATCH] maint: increase stack frame size limit

Eric Blake eblake at redhat.com
Fri May 8 15:08:13 UTC 2015

On 05/03/2015 10:22 AM, Roman Bogorodskiy wrote:
> Currently the stack frame size limit is set to 4096 and it started to
> cause an error like this:
> virshtest.c:253:1: error: stack frame size of 5512 bytes in function
> 'mymain' [-Werror,-Wframe-larger-than=]
> mymain(void)
> ^
> 1 error generated.
> Increase it to 6144.

NACK.  4096 is there for a reason; we do NOT want to exceed a page size.
 Instead, we need to fix virshtest.c to quit stack-allocating such a
large structure.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150508/aa73b34e/attachment-0001.sig>

More information about the libvir-list mailing list