From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94EC2C433DB for ; Mon, 22 Mar 2021 13:57:04 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1170D61923 for ; Mon, 22 Mar 2021 13:57:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1170D61923 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOL3G-0007Lo-VV for qemu-devel@archiver.kernel.org; Mon, 22 Mar 2021 09:57:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOKmL-0005lD-Pm for qemu-devel@nongnu.org; Mon, 22 Mar 2021 09:39:33 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOKmJ-00007H-Ls for qemu-devel@nongnu.org; Mon, 22 Mar 2021 09:39:33 -0400 Received: by mail-wr1-x42d.google.com with SMTP id e18so16858377wrt.6 for ; Mon, 22 Mar 2021 06:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=B5kuefvIYUys7TnQ0ymrK2vA+VBzUvXgsoZK5SAK0/s=; b=KtZLm4+LsD5DAG2CZozuPaEsNwOqmOV0Ps8bc3eX9TxsXrZda8k5WW+f+VlQSAafAs cher5HzRrN3+7DTqVnQ/5IYFU/FFKDggKGcqS6OQKK7JUkBmyiU7Pn++5gclZeGFCpF2 1NtuIGHJWDSWn6KWyRu+2Zg8pU27FzwdA70pKtfsHh++ERjNhX2MRikHTbebB9TPMlj2 meWXxiD2Xc4INtd4lTa9qPjCRrwd+Ov10KChAy2g/XrtamwgcGu1w1adTe6PXk0fp27+ 2rY78xrSe1P/TZxMjlMwGyN+1QDMhaLUOQVLVimAbCC8+DFXbXYbT4xqJ8WJDS2y3gJw zaJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B5kuefvIYUys7TnQ0ymrK2vA+VBzUvXgsoZK5SAK0/s=; b=XZGFsEze52dL6OHwTXSJT4A9bTvJrdU9RqcY2obL+JqwAzBggpJGr43slCnM7B6AW/ M4dXFYPZhu8cUforBw2M2lJr0M1saQEvC1TcGHyz46A1jSHp72om6JHC+D8OCxAnuJsi vBjqEuTMuTXcAE+zZAxbhU4pEgZ5c7JdFXxN0GcA3HsH0I4LKWpLsWwm5nDENlzN3rKe QzksXAuHvJEfD7Bg1QKJ+tBcnRwI4QK+dxXRLNxSvErWNmLlrouKFckX6ub1hv5LeISa 6N0h6i4/cNzDWgj2aol+23mGwsxJiGUlEwGwc5L1GWbyYS4g0CYPoRMTHdbz9Ooj0GEM qN9Q== X-Gm-Message-State: AOAM530Ytg/J1Lra10IRpdV59WLf9Ui3yCmixvSzvBA86uXUkldRUp6p gGmPo7FAhPCX263rzLTEs+U= X-Google-Smtp-Source: ABdhPJw895M3A3ka3nEBXTt+LEx6sbPk4cK24hZC0fEfR2oFMCQXptbLNezz/2JK0Raxle7hUOPNfQ== X-Received: by 2002:a1c:65c2:: with SMTP id z185mr16168605wmb.2.1616420370105; Mon, 22 Mar 2021 06:39:30 -0700 (PDT) Received: from [192.168.1.36] (17.red-88-21-201.staticip.rima-tde.net. [88.21.201.17]) by smtp.gmail.com with ESMTPSA id c2sm16610771wmr.22.2021.03.22.06.39.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Mar 2021 06:39:28 -0700 (PDT) Subject: Re: [PULL v2 04/15] gitlab-ci.yml: Add jobs to test CFI flags To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , peter.maydell@linaro.org, Daniele Buono References: <20210310160002.11659-1-alex.bennee@linaro.org> <20210310160002.11659-5-alex.bennee@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: Date: Mon, 22 Mar 2021 14:39:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210310160002.11659-5-alex.bennee@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: Thomas Huth , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 3/10/21 4:59 PM, Alex Bennée wrote: > From: Daniele Buono > > QEMU has had options to enable control-flow integrity features > for a few months now. Add two sets of build/check/acceptance > jobs to ensure the binary produced is working fine. > > The three sets allow testing of x86_64 binaries for x86_64, s390x, > ppc64 and aarch64 targets > > [AJB: tweak job names to avoid brands] > > Signed-off-by: Daniele Buono > Signed-off-by: Alex Bennée > Reviewed-by: Philippe Mathieu-Daudé > Message-Id: <20210304030948.9367-3-dbuono@linux.vnet.ibm.com> > Message-Id: <20210305092328.31792-9-alex.bennee@linaro.org> > +build-cfi-x86_64: > + <<: *native_build_job_definition > + needs: > + - job: amd64-fedora-container > + variables: > + LD_JOBS: 1 > + AR: llvm-ar > + IMAGE: fedora > + CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug > + --enable-safe-stack --enable-slirp=git > + TARGETS: x86_64-softmmu > + MAKE_CHECK_ARGS: check-build > + artifacts: > + expire_in: 2 days > + paths: > + - build FYI this job is timeouting: ERROR: Job failed: execution took longer than 1h0m0s seconds https://gitlab.com/qemu-project/qemu/-/jobs/1112829128 > + > +check-cfi-x86_64: > + <<: *native_test_job_definition > + needs: > + - job: build-cfi-x86_64 > + artifacts: true > + variables: > + IMAGE: fedora > + MAKE_CHECK_ARGS: check > + > +acceptance-cfi-x86_64: > + <<: *native_test_job_definition > + needs: > + - job: build-cfi-x86_64 > + artifacts: true > + variables: > + IMAGE: fedora > + MAKE_CHECK_ARGS: check-acceptance > + <<: *acceptance_definition > + > tsan-build: > <<: *native_build_job_definition > variables: >