From patchwork Mon Sep 19 15:51:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 76564 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1035251qgf; Mon, 19 Sep 2016 09:04:32 -0700 (PDT) X-Received: by 10.237.39.35 with SMTP id n32mr25772913qtd.101.1474301072738; Mon, 19 Sep 2016 09:04:32 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 32si20326477qtf.101.2016.09.19.09.04.32 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 19 Sep 2016 09:04:32 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm13Y-0005ZV-7H for patch@linaro.org; Mon, 19 Sep 2016 12:04:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm0sS-0005BG-G7 for qemu-devel@nongnu.org; Mon, 19 Sep 2016 11:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm0sP-0005B8-AT for qemu-devel@nongnu.org; Mon, 19 Sep 2016 11:53:04 -0400 Received: from mail-lf0-f50.google.com ([209.85.215.50]:34244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm0sP-0005Ah-2o for qemu-devel@nongnu.org; Mon, 19 Sep 2016 11:53:01 -0400 Received: by mail-lf0-f50.google.com with SMTP id y6so40964047lff.1 for ; Mon, 19 Sep 2016 08:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CkOZyYCA4etwb91IR7JtLsiwLKAolL7lyPIiNhpEpek=; b=CuG/w7lSu1hEHilffFpv2U3GvRYUWwCk8UZkcO9pHxt9+N6VHmCXLVndnl10CUIOl2 nH0u0iFfHHG5XEIPGvilSLiZveo3kfK6LFiXSMT7MnK1RoA3OZ6KENinQQ9PHsga3GKY SrXXpRR5iZCx2F29GEDUjEEzHzTH5tuupHPy4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CkOZyYCA4etwb91IR7JtLsiwLKAolL7lyPIiNhpEpek=; b=k8C6GI/sSrqEqbDyu7pmIhCjSEJT4bHCUFseuU/DIvNoGPkQUWxCJdTYTl09VwQLzF Vl+MFJ/H2M5fLbZbPUi0BtlcHouFnBoS3+6DKRgul290o7cgyPtLlsD1aqZ5Xicg3Jsa m58R+5QGutaVAhHCKoakzkJoGy69SIBV7Rp5rnP4er1fexeUPXzNgtYQCqL5Wk6I9mTC BHgG+Gi/NRwysxiXrzJpkJ7um7zwMVGXOwXZHgBHXGzEN5mgcbbb877S4nPkvXt52wNl QePHWEcDwkqZBiWtS/qQCynnQihJV3GJbJEPF7610NiWEzg5pfwjL+5VwdkNr6/1gxtE DynA== X-Gm-Message-State: AE9vXwNUHUlfzuJp31D/B8ce7SLgjRXtKvXNg0wJKXlBvlBSpFdYXHZqRC0jwljkURBwPMYT X-Received: by 10.194.47.101 with SMTP id c5mr24941774wjn.67.1474300320184; Mon, 19 Sep 2016 08:52:00 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r2sm16085666wmf.14.2016.09.19.08.51.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Sep 2016 08:51:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id CE2A53E066C; Mon, 19 Sep 2016 16:51:53 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org, pbonzini@redhat.com, cota@braap.org, stefanha@redhat.com, kwolf@redhat.com Date: Mon, 19 Sep 2016 16:51:39 +0100 Message-Id: <20160919155139.28371-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160919155139.28371-1-alex.bennee@linaro.org> References: <20160919155139.28371-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.50 Subject: [Qemu-devel] [RFC 8/8] .travis.yml: add gcc sanitizer build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mttcg@listserver.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, =?UTF-8?q?Alex=20Benn=C3=A9e?= , fred.konrad@greensocs.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As it seems easy to break the ThreadSanitizer build we should defend it to ensure that fixes get applied when it breaks. We use the Ubuntu GCC PPA to get the latest GCC goodness. Signed-off-by: Alex Bennée --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.9.3 diff --git a/.travis.yml b/.travis.yml index f30b10e..5b1c01c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -89,6 +89,7 @@ matrix: - env: CONFIG="" os: osx compiler: clang + # Plain Trusty Build - env: CONFIG="" sudo: required addons: @@ -99,3 +100,18 @@ matrix: - sudo apt-get build-dep -qq qemu - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - git submodule update --init --recursive + # Trusty + GCC sanitizers + - env: CONFIG="--disable-pie" + sudo: required + addons: + dist: trusty + compiler: gcc + before_install: + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + - sudo apt-get install -qq gcc-6 + - sudo apt-get build-dep -qq qemu + - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ + - git submodule update --init --recursive + before_script: + - ./configure --cc=gcc-6 ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fsanitize-blacklist=${TRAVIS_BUILD_DIR}/blacklist.tsan"