[libvirt PATCH 11/11] build: lower maximum frame size to 1972

Ján Tomko jtomko at redhat.com
Thu Aug 27 20:19:53 UTC 2020


This number is the closest multiple of 100000000
above the largest frame value reported by clang
in the current codebase.

It is unrelated to the closure of the last trolleybus
line in the UK:
https://en.wikipedia.org/wiki/Trolleybuses_in_Bradford

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 meson.build | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meson.build b/meson.build
index dabd4196e6..68ae67a47c 100644
--- a/meson.build
+++ b/meson.build
@@ -417,10 +417,9 @@ cc_flags += [
   # but need to rewrite various areas of code first
   '-Wno-format-truncation',
 
-  # This should be < 256 really. Currently we're down to 4096,
-  # but using 1024 bytes sized buffers (mostly for virStrerror)
-  # stops us from going down further
-  '-Wframe-larger-than=4096',
+  # This should be < 256 really.
+  # Using 1024 bytes sized buffers stops us from going down further
+  '-Wframe-larger-than=1972',
 
   # extra special flags
   '-fexceptions',
-- 
2.26.2




More information about the libvir-list mailing list