[Spice-commits] .gitlab-ci.yml

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Mar 9 09:37:16 UTC 2018

 .gitlab-ci.yml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4038194beef524d8a8de7de14c144ee6506f126
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Mar 8 12:13:05 2018 +0000

    ci: Fix compiling of some functions
    Address sanitizer use a larger stack than normal compiled programs
    making the build fails. This causes this error on GitLab CI system:
    stream-device.c: In function 'stream_device_partial_read':
    stream-device.c:182:1: error: the frame size of 32992 bytes is larger than 20460 bytes [-Werror=frame-larger-than=]
    Allow larger stack on "makecheck" to avoid this issue.
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 32a7401b..94325604 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ before_script:
   - >
-    CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer'
+    CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
     LDFLAGS='-fsanitize=address -lasan'
   - make

More information about the Spice-commits mailing list