qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 1/9] tests/docker: add sanitizers back to cla


From: John Snow
Subject: Re: [Qemu-devel] [PATCH v1 1/9] tests/docker: add sanitizers back to clang build
Date: Tue, 17 Sep 2019 14:43:48 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 9/17/19 2:41 PM, Alex Bennée wrote:
> From: John Snow <address@hidden>
> 
> Fedora23 is but a distant twinkle.
> The sanitizer works again, and even if not,
> we have --enable-sanitizers now.
> 
> Signed-off-by: John Snow <address@hidden>
> Message-Id: <address@hidden>
> Signed-off-by: Alex Bennée <address@hidden>

Hi Alex:

As a warning, I do believe this *does* produce some sanitizer errors for
this build which I have not had the time to investigate.

We might be treated to some patchew complaints in response to this
patch, if it runs clang builds.

--js

> ---
>  tests/docker/test-clang | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/tests/docker/test-clang b/tests/docker/test-clang
> index 324e341cea9..db9e6970b78 100755
> --- a/tests/docker/test-clang
> +++ b/tests/docker/test-clang
> @@ -17,11 +17,7 @@ requires clang
>  
>  cd "$BUILD_DIR"
>  
> -OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
> -# -fsanitize=undefined is broken on Fedora 23, skip it for now
> -# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1263834
> -#OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
> -    #--extra-cflags=-fno-sanitize=float-divide-by-zero"
> +OPTS="--cxx=clang++ --cc=clang --host-cc=clang --enable-sanitizers"
>  build_qemu $OPTS
>  check_qemu
>  install_qemu
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]