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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 DC751C4332F for ; Mon, 20 Sep 2021 16:59:41 +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 A97E061A4F for ; Mon, 20 Sep 2021 16:59:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A97E061A4F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:41104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSMdo-00013k-UN for qemu-devel@archiver.kernel.org; Mon, 20 Sep 2021 12:59:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSMMB-0003ZI-9f for qemu-devel@nongnu.org; Mon, 20 Sep 2021 12:41:27 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:36704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSMM9-0001rH-Df for qemu-devel@nongnu.org; Mon, 20 Sep 2021 12:41:26 -0400 Received: by mail-wr1-x432.google.com with SMTP id g16so31510298wrb.3 for ; Mon, 20 Sep 2021 09:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=5Zk3JviNQxrieMkt3e6a0KVkQ3QBIa5dw7ibCByL6YQ=; b=Yweav/10wme1lGOlPcfwXI4Zw7BFIsa5611EeAlgM6KtZE3tb78J4dzXNBvndlohX1 KHPm1ibPnkmpsdNYQYVaqfGxlxURrOYSpDz4T+OO28s6lqmDZA9AnJ9Zpsia4evXSt6g UDLUJCqiYfJ02qmoYg/E9XkZ2TiC6q9vSM2b/9dizHBtEpW7KbCEZynQuFt/IBI++wG0 NmyEzZvNWjeeF27e/wDZ31yHkFIcRoqHuoB3+xQTzMvzdZGN1pb7kOpGNgIbsNY0YgA2 tgrQhGje5ZZrRCOqhc4IGb23a+BWjQpYc6GOQYo3Zw+WtGaO9m7MQpSeR6hceWl8dwEc g2jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=5Zk3JviNQxrieMkt3e6a0KVkQ3QBIa5dw7ibCByL6YQ=; b=A7FXtlCCuAXo6ba83ietFQ/vWdsAVfumjESdbAsUFA5d/vIRq9SBWCbrxfcSbam16P 33FjO56CkEiy+uUDVWM9HiH8f3tkXgRmByn6pLY6y4q4ffVcuKPtberX7jeYXkxheC8Z JWgmc3GzNKDJ4dc8zgFCXULAwxFYg2npL0iILwmSGtDyv6LSmd/nYoKRsa7s8N5o57WK 0bYxJqGLDvWPFkmm/csI05M7xbkI+uPLpG8myS6aPsDny8Q7GHvuxlWxwuMJstS314pR H2LU+SDji4xIcAR4dzB4ua4BBWF7QSSktVdnd44laOopz+PyyG+RDlpz1LC6MWqa9+EQ sKjA== X-Gm-Message-State: AOAM530CKH4Pn9Yh2SF3OTsbDgl2JQBZSXbFcRzxRo9qlODpV3L3w2yD G2n5jLTVqSF6pYnceLVUAbYByX4uI/f2GQ== X-Google-Smtp-Source: ABdhPJx1OrzBKUi4vFrV0WLl3YVkqlPAKKnvGze0qqLw/JwiUKNBbSRKvq6xM+CuvJca9oPLwTPPZQ== X-Received: by 2002:a05:6000:1561:: with SMTP id 1mr19781733wrz.369.1632156083647; Mon, 20 Sep 2021 09:41:23 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o1sm16329293wru.91.2021.09.20.09.41.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 09:41:22 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B371E1FF96; Mon, 20 Sep 2021 17:41:21 +0100 (BST) References: <20210917162332.3511179-1-alex.bennee@linaro.org> <20210917162332.3511179-2-alex.bennee@linaro.org> User-agent: mu4e 1.7.0; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Ed Maste Subject: Re: [PATCH v1 01/11] configure: don't override the selected host test compiler if defined Date: Mon, 20 Sep 2021 17:37:19 +0100 In-reply-to: Message-ID: <8735pzp5ce.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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: qemu-devel Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Ed Maste writes: > On Fri, 17 Sept 2021 at 12:27, Alex Benn=C3=A9e = wrote: >> >> There are not many cases you would want to do this but one is if you >> want to use a test friendly compiler like gcc instead of a system >> compiler like clang. Either way we should honour the users choice if >> they have made it. > > A little bit of a tangent, but I'm curious about this comment - what > aspects of GCC make it more test friendly? (I help maintain LLVM tools > on FreeBSD, and would like to make sure they provide as good an > experience as possible.) Some of the inline assembler in the old tests trips up LLVM. There is a chance the inline assembly is a bit bogus with it's constraints and GCC is just a bit more lax and accepting. I'm totally fine with merging something that restores support for clang for building tests it just needs the appropriate fixups to the tests. We already use clang for the hexagon builds after all. Once that is done we can drop the stuff in cf22f936f2 (tests/tcg: don't allow clang as a cross compiler). --=20 Alex Benn=C3=A9e