[Spice-devel] [PATCH spice-server] ci: Fix compiling of some functions
Frediano Ziglio
fziglio at redhat.com
Thu Mar 8 14:18:46 UTC 2018
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>
---
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
You can see a failure at https://gitlab.com/spice/spice/-/jobs/56405770,
success at https://gitlab.com/freddy77/spice/-/jobs/56407891.
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:
makecheck:
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'
./autogen.sh
- make
--
2.14.3
More information about the Spice-devel
mailing list