On 28/05/19 16:02, Peter Maydell wrote: > On Tue, 28 May 2019 at 14:47, Alex Bennée <alex.ben...@linaro.org> wrote: >> Sounds like we should include the sanitizer build in our normal setup. >> We currently only do: >> >> ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread >> -fuse-ld=gold" >> >> with gcc-7. What are the clang configure runes you are using? > > I use > '../../configure' '--cc=clang' '--cxx=clang++' '--enable-gtk' > '--extra-cflags=-fsanitize=undefined -fno-sanitize=shift-base > -Werror' > > (which we document at https://wiki.qemu.org/Testing#clang_UBSan)
Oh, so this is ubsan! It is not covered by Patchew, which however found some issues in the Address Sanitizer build that were uncovered by check-block. Logs are available at https://patchew.org/logs/20190530101603.22254-1-alex.ben...@linaro.org/testing.asan/?type=message. Paolo