[Spice-devel] [PATCH spice-server] ci: Fix compiling of some functions
Christophe Fergeau
cfergeau at redhat.com
Fri Mar 9 09:30:25 UTC 2018
Hey,
On Thu, Mar 08, 2018 at 02:18:46PM +0000, Frediano Ziglio wrote:
> 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.
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
>
> 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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180309/91103a12/attachment.sig>
More information about the Spice-devel
mailing list