From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn4k8-0007pO-UX for qemu-devel@nongnu.org; Thu, 22 Sep 2016 10:12:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn4k2-00011T-7v for qemu-devel@nongnu.org; Thu, 22 Sep 2016 10:12:51 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:37178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn4k2-00011P-0b for qemu-devel@nongnu.org; Thu, 22 Sep 2016 10:12:46 -0400 Received: by mail-wm0-f49.google.com with SMTP id b130so150955636wmc.0 for ; Thu, 22 Sep 2016 07:12:45 -0700 (PDT) References: <20160922101316.13064-1-alex.bennee@linaro.org> <20160922101316.13064-4-alex.bennee@linaro.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: Date: Thu, 22 Sep 2016 15:11:43 +0100 Message-ID: <87d1jwausg.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 3/9] new: blacklist.tsan List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, cota@braap.org, stefanha@redhat.com, kwolf@redhat.com, mttcg@greensocs.com, peter.maydell@linaro.org, claudio.fontana@huawei.com, nikunj@linux.vnet.ibm.com, jan.kiszka@siemens.com, mark.burton@greensocs.com, a.rigo@virtualopensystems.com, serge.fdrv@gmail.com, bobby.prani@gmail.com, rth@twiddle.net, fred.konrad@greensocs.com Eric Blake writes: > On 09/22/2016 05:13 AM, Alex Bennée wrote: >> A list of blacklists for tsan instrumentation. One hopes more can be >> removed over time as tsan improves. > > A list of one file? It sounds like this sentence is stale, from an > earlier revision where the blacklist was longer. When I was going through the compiler failures and added the first one I assumed more would be needed ;-) > >> >> The path needs to be absolute so it doesn't break when directories >> change during the build: >> >> ./configure --with-coroutine=gthread --disable-pie \ >> --extra-cflags="-g3 -O0 -fsanitize=thread \ >> -fsanitize-blacklist=/home/alex/lsrc/qemu/qemu.git/blacklist.tsan" >> > > Is there any way to make configure automatically convert a relative name > into an absolute? We could teach configure about the sanitizers and embed the knowledge there. > >> Signed-off-by: Alex Bennée >> Reviewed-by: Marc-André Lureau >> --- >> blacklist.tsan | 2 ++ >> 1 file changed, 2 insertions(+) >> create mode 100644 blacklist.tsan >> >> diff --git a/blacklist.tsan b/blacklist.tsan >> new file mode 100644 >> index 0000000..9e53a84 >> --- /dev/null >> +++ b/blacklist.tsan >> @@ -0,0 +1,2 @@ >> +# the vector intrinsics upset tsan >> +src:bufferiszero.c >> -- Alex Bennée