From nobody Wed Nov 19 00:12:07 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613382493; cv=none; d=zohomail.com; s=zohoarc; b=ctTqKOGZXsSG76JiXT8xbeLNLccRuD2CsinZKM2p6R+liBsqDPvKEEm5yOjLMHrT5aAVFVa4fQgzF7z7HmNQ17yLYPcPC3W2ovHrUhpjtnLcZbJGa6WhcTcwA5tKdxEC5jRTcgVbZnGohBIIRifCz7THAjKAMGaDT3OhXIv94D4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613382493; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CsFHEa2dmZHo76urodPueIcMA6EuUDsw/Z/ua96i2cM=; b=LsyLq957rlVvh0WUZIq72YS7NvoLk/I9lhKmtT8u2qiORsCCQes72TYLMtcHV+85743sheLjp3vI9AnRVLHRI0nuUMZw7wJNqvdrjqMqrxxGO99RMIJqQVXil1qHuGxdWCTNlcG9hACTHGZsblYlvU1sJYbI9GjArXH6nWq73Ug= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613382493074497.01796645063587; Mon, 15 Feb 2021 01:48:13 -0800 (PST) Received: from localhost ([::1]:33828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBaUF-0005DB-Ux for importer@patchew.org; Mon, 15 Feb 2021 04:48:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBaPB-0008UM-5O for qemu-devel@nongnu.org; Mon, 15 Feb 2021 04:42:57 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:36046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBaP9-0004NM-GZ for qemu-devel@nongnu.org; Mon, 15 Feb 2021 04:42:56 -0500 Received: by mail-wm1-x331.google.com with SMTP id h67so3865705wmh.1 for ; Mon, 15 Feb 2021 01:42:55 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y16sm19025901wrw.46.2021.02.15.01.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 01:42:52 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6E4521FF91; Mon, 15 Feb 2021 09:42:45 +0000 (GMT) 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=CsFHEa2dmZHo76urodPueIcMA6EuUDsw/Z/ua96i2cM=; b=xZHM2tem6wzewtdzpNaKM6awCYjffh9qMRVKPZMQkWo8/mz+J+YL4nt+Z9dixABcTm TTGo/knByv8O4SEb6GeP0/a2sO9r+ZpiSUe31uzKPMAaG7ZdhJa+ACLdnszIvojN1c9m YVk77hw+i6Pu57X6buw/1/YnCEYttA/9QHH5hJB43443OfI1L0WF156cbZfepBbSXEHP d3raeFuxSknevGzbIwWDPLGqqW+FJMV7V9bAUMoEJLB+QFt2k+Jua5V3JQ8s3MjgxSmD uA512FSoRP1M2HjbWfX23Epfo/5rG/ySDc2VYtOGkmJW6yZ0FlRp0lpxCRwTa/FjFyh+ JadA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CsFHEa2dmZHo76urodPueIcMA6EuUDsw/Z/ua96i2cM=; b=QMMgA7ODP1SDS6QCLeHHE9KRKPOYgP1vPaqfa/51N6qCGx/wOPqeAo5xsT2WsUGf5U ychamTwNng90sGUM/d3VNEg6SKMDM7li8znecPZRacp8IJEJJrZZ2PvtTKfHEc5B6Xpn anlfG60JkWiHjGdALc7lWH4GEH2hpRk4jjHPoOoHcV8n0rPFk7xBhL8PmQuyUA9P5SOc xJIfcRnzFG+1g56omFX8y3bgjB4/LMQJFXmjpfP9gHgl4bjXBlki7LRMEN2SAOSpHsj0 nFuYW7hN4N6q7hnuZU4qRDHY62ndeZbHJHSs95IBUo0QxyeM8nQix6uvSGfVNjh5AKD3 9M9A== X-Gm-Message-State: AOAM532s4Orv7pfqqQ1nIHS+9xjUn29knXePKCZm7UBnWgJdwkXLEfPm C1f/Lxb8s7AUKgk1HsRea4564Q== X-Google-Smtp-Source: ABdhPJyM2qzB5KfP4m10BPzOXbAJgx/X7Cz8OhRoDaIILnn89C702gZ4Lo4aA0p40+eqztg+EgoTyg== X-Received: by 2002:a1c:a546:: with SMTP id o67mr13589124wme.151.1613382174154; Mon, 15 Feb 2021 01:42:54 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 05/15] travis.yml: Move the -fsanitize=thread testing to the gitlab-CI Date: Mon, 15 Feb 2021 09:42:34 +0000 Message-Id: <20210215094244.12716-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210215094244.12716-1-alex.bennee@linaro.org> References: <20210215094244.12716-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth Use clang-10, so we can also use the --enable-tsan configure option instead of only passing the flag via --extra-cflags. Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Alex Benn=C3=A9e Message-Id: <20210211045455.456371-6-thuth@redhat.com> Message-Id: <20210211122750.22645-6-alex.bennee@linaro.org> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e878cc0847..7adb9a4cef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -452,6 +452,15 @@ clang-user: --extra-cflags=3D-fsanitize=3Dundefined --extra-cflags=3D-fno-saniti= ze-recover=3Dundefined MAKE_CHECK_ARGS: check-unit check-tcg =20 +tsan-build: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-tsan --cc=3Dclang-10 --cxx=3Dclang++-10 --dis= able-docs + --enable-fdt=3Dsystem --enable-slirp=3Dsystem + TARGETS: x86_64-softmmu ppc64-softmmu riscv64-softmmu x86_64-linux-user + MAKE_CHECK_ARGS: bench V=3D1 + # These targets are on the way out build-deprecated: <<: *native_build_job_definition diff --git a/.travis.yml b/.travis.yml index f0e2b1059c..0a4f38b9d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,57 +119,6 @@ after_script: jobs: include: =20 - - # Using newer GCC with sanitizers - - name: "GCC9 with sanitizers (softmmu)" - dist: bionic - addons: - apt: - update: true - sources: - # PPAs for newer toolchains - - ubuntu-toolchain-r-test - packages: - # Extra toolchains - - gcc-9 - - g++-9 - # Build dependencies - - libaio-dev - - libattr1-dev - - libbrlapi-dev - - libcap-ng-dev - - libgnutls28-dev - - libgtk-3-dev - - libiscsi-dev - - liblttng-ust-dev - - libnfs-dev - - libncurses5-dev - - libnss3-dev - - libpixman-1-dev - - libpng-dev - - librados-dev - - libsdl2-dev - - libsdl2-image-dev - - libseccomp-dev - - libspice-protocol-dev - - libspice-server-dev - - liburcu-dev - - libusb-1.0-0-dev - - libvte-2.91-dev - - ninja-build - - sparse - - uuid-dev - language: generic - compiler: none - env: - - COMPILER_NAME=3Dgcc CXX=3Dg++-9 CC=3Dgcc-9 - - CONFIG=3D"--cc=3Dgcc-9 --cxx=3Dg++-9 --disable-linux-user" - - TEST_CMD=3D"" - before_script: - - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - - ${SRC_DIR}/configure ${CONFIG} --extra-cflags=3D"-g3 -O0 -fsanit= ize=3Dthread" || { cat config.log meson-logs/meson-log.txt && exit 1; } - - - name: "[aarch64] GCC check-tcg" arch: arm64 dist: focal --=20 2.20.1