qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1 00/18] testing/next (tsan, dtc warnings, cross-builds)


From: Alex Bennée
Subject: Re: [PATCH v1 00/18] testing/next (tsan, dtc warnings, cross-builds)
Date: Sat, 13 Jun 2020 00:49:44 +0100
User-agent: mu4e 1.5.2; emacs 28.0.50

Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

> On 6/12/20 9:44 PM, no-reply@patchew.org wrote:
>> Patchew URL: 
>> 20200612190237.30436-1-alex.bennee@linaro.org/">https://patchew.org/QEMU/20200612190237.30436-1-alex.bennee@linaro.org/
>>   CC      x86_64-softmmu/fpu/softfloat.o
>>   CC      x86_64-softmmu/disas.o
>> /usr/bin/ld: 
>> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors_vfork.S.o):
>>  warning: common of `__interception::real_vfork' overridden by definition 
>> from 
>> /usr/lib64/clang/10.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cpp.o)
>>   GEN     x86_64-softmmu/gdbstub-xml.c
>>   CC      x86_64-softmmu/arch_init.o
>>   CC      x86_64-softmmu/cpus.o
>>   CC      x86_64-softmmu/gdbstub.o
>>   CC      x86_64-softmmu/balloon.o
>>   CC      x86_64-softmmu/ioport.o
>> /tmp/qemu-test/src/fpu/softfloat.c:3365:13: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>     absZ &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven );
>>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>             !
>> /tmp/qemu-test/src/fpu/softfloat.c:3423:18: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>         absZ0 &= ~ ( ( (uint64_t) ( absZ1<<1 ) == 0 ) & roundNearestEven );
>>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                  !
>> /tmp/qemu-test/src/fpu/softfloat.c:3483:18: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>         absZ0 &= ~(((uint64_t)(absZ1<<1) == 0) & roundNearestEven);
>>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                  !
>> /tmp/qemu-test/src/fpu/softfloat.c:3606:13: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>     zSig &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven );
>>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>             !
>> /tmp/qemu-test/src/fpu/softfloat.c:3760:13: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>     zSig &= ~ ( ( ( roundBits ^ 0x200 ) == 0 ) & roundNearestEven );
>>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>             !
>> /tmp/qemu-test/src/fpu/softfloat.c:3987:21: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>                     ~ ( ( (uint64_t) ( zSig1<<1 ) == 0 ) & roundNearestEven 
>> );
>>                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                     !
>> /tmp/qemu-test/src/fpu/softfloat.c:4003:22: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>             zSig0 &= ~ ( ( (uint64_t) ( zSig1<<1 ) == 0 ) & roundNearestEven 
>> );
>>                      
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                      !
>> /tmp/qemu-test/src/fpu/softfloat.c:4273:18: error: bitwise negation of a 
>> boolean expression; did you mean logical negation? [-Werror,-Wbool-operation]
>>         zSig1 &= ~ ( ( zSig2 + zSig2 == 0 ) & roundNearestEven );
>>                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                  !
>> 8 errors generated.
>> make[1]: *** [/tmp/qemu-test/src/rules.mak:69: fpu/softfloat.o] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [Makefile:527: x86_64-softmmu/all] Error 2
>
> The fix for this is in Richard's tcg queue:
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg711229.html

Ahh of course - the fedora bump brought the newer clang.


-- 
Alex Bennée



reply via email to

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