From patchwork Wed Jun 10 20:39:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 187784 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp818933ilo; Wed, 10 Jun 2020 13:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTGcqNuowLyKtOL69ZMxZRZKcU4NMnJbv5DbIwSCrEwm6RsQ48McOuu7oQ6U2Vl5MyPoCB X-Received: by 2002:a25:3f87:: with SMTP id m129mr8768098yba.371.1591821888444; Wed, 10 Jun 2020 13:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591821888; cv=none; d=google.com; s=arc-20160816; b=vChMA2fB6/sXoAZZiGY55i1lEEa4imiFrNi7ekjT9Abas+jzAbF6/cHBHlnRjaBb5+ C/3z7SAk/k/Ipt3agAE1zaQ4dWr+SWVNz8KhJ12MRsChM47HvrJrGGAlbChalcdBeWmV P5tIbtPPQ26SMWCLKv+C3ju3G62c7FOdJ0XOVmNTnfU/39x72pyjs42w1XyxNHCM8ZcK 3QQnBjU3fd2Pd+egD8fHmMWgyfGIRVTUtO9GcqR71Jpa/FzMFihbUd2+f5tlITlpaVXH nJ7mAnZH+XVTKTQTJ5Vau675DZE1/2wLA7R1lRTkwKQxQMGrbA9opMmt7KCVFBw6qABh 1viw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=rdRr8k9RoF6oI62onYFF+ei/xJnpiy+5iLWvNRMEmaI=; b=JeRyDA+4m5lzZhZn5zo8TRkUFzTqc082nUl4Nt1ifkCatsxSgtGLwqxctoAM+un1uS jznfAPViXWrJUlyU9oparzSQZqNhcrj+bgGU/Cqid7M+VpZxxD9ZCcPxRNGiRiBxeJ2J wngYao3P59g1gGXhJg/LlkssP3SZoAjv90j5zB/a4gxX6Qas7UHZVeZFvH/1nInUgOII HdZE7vavOk4mAFtvur5odCUQz1iLcv3XsTSIu0xryLMZznZwwy9igTb0INUoX/HJCsRv scj5ShyB3cp7HVDDGGftMwN36VoWcdr0EVG3gU3K8Dt1veTWUB40OyeLLFkDhiexBd3y xp8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fgnH157G; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b203si505753yba.469.2020.06.10.13.44.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Jun 2020 13:44:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fgnH157G; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj7aZ-00008h-TL for patch@linaro.org; Wed, 10 Jun 2020 16:44:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj7Vv-0003Xs-EG for qemu-devel@nongnu.org; Wed, 10 Jun 2020 16:39:59 -0400 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:55985) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jj7Vu-0007hU-F0 for qemu-devel@nongnu.org; Wed, 10 Jun 2020 16:39:59 -0400 Received: by mail-pj1-x1044.google.com with SMTP id ne5so1307023pjb.5 for ; Wed, 10 Jun 2020 13:39:51 -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=rdRr8k9RoF6oI62onYFF+ei/xJnpiy+5iLWvNRMEmaI=; b=fgnH157GNy39piUiVuhYZ2EEHd1hvDpNYFV/mbXwRNtKmrcv2hSqSDrQYzKBW9A1R9 499h0INvusZIAru0wkFi4TjeEwUyLcHR+cOqcyiBkuFj0ozkiWy2WFxxtVyokChpE2Oc hGJoM54QfqExU3KUaz3f/7RzimtVHXnPtvwnMSRtD+SmfldV9aHXkCHSX3zyHeBjJbUw iiZ61LPBdOM18NgRY8SEH9fdEcpx7tjMvBVeAbBu5VJRKoooGrNF14/Qxd6KV+608hOf uGQ/sU1K0DIP/vrMaJuQC6rM3xsVBQEDk6kSQLGJVhnscziGPGPh+M1qfVBk534rMkAY KWWw== 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=rdRr8k9RoF6oI62onYFF+ei/xJnpiy+5iLWvNRMEmaI=; b=aRQhhbkWCTpmmEVOWFCMdWfnzxYPAGG6pWCD8Lf1NkBFjQw7+bvY1hrPhLNC5lYXRK 0g83zusKDZrhVNbAlYNNXfea26KFW7jlkqNOpkGKQyotM2PTP5i8zZ5tY5e2Vk9659Ko sjDrdndEFliMKYQ8MNb6i2OZnTz+oCwC3jDknl6Vh+1dsxorrAyKJoP3c4wwKbLmZmSF 6Lu63jqtAuMZItO2aKEj9ACVOPzG19AyZAzFUAvtQpr9rdOyKkPuyc9GW17StWti4WuP Xgei6JnaJxJBNO0nx86YJtPzweEmVRk94Qvbl3V3JKt/PCfqCJHZJjftuR+VxVD8rLpJ I5rA== X-Gm-Message-State: AOAM530yg/q+k1mwbpTa0pGyNVHQ2EB6bg728ZpKt+s4JOVSA54lR70z CaxwgXO3ZFuw82zKSK4XlppydIGfYpY= X-Received: by 2002:a17:902:bd09:: with SMTP id p9mr4586962pls.214.1591821590479; Wed, 10 Jun 2020 13:39:50 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id g6sm740648pfb.164.2020.06.10.13.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 13:39:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 5/5] configure: Add -Wno-psabi Date: Wed, 10 Jun 2020 13:39:42 -0700 Message-Id: <20200610203942.887374-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200610203942.887374-1-richard.henderson@linaro.org> References: <20200610203942.887374-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1044; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1044.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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=_AUTOLEARN 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: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" On aarch64, gcc 9.3 is generating qemu/exec.c: In function ‘address_space_translate_iommu’: qemu/exec.c:431:28: note: parameter passing for argument of type \ ‘MemTxAttrs’ {aka ‘struct MemTxAttrs’} changed in GCC 9.1 and many other reptitions. This structure, and the functions amongst which it is passed, are not part of a QEMU public API. Therefore we do not care how the compiler passes the argument, so long as the compiler is self-consistent. Cc: Alex Bennée Cc: Peter Maydell Signed-off-by: Richard Henderson --- TODO: The only portion of QEMU which does have a public api, and so must have a stable abi, is "qemu/plugin.h". We could test this by forcing -Wpsabi or -Werror=psabi in tests/plugin. I can't seem to make that work -- Alex? --- configure | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/configure b/configure index 8b33447048..76d32e0f7b 100755 --- a/configure +++ b/configure @@ -2036,6 +2036,7 @@ add_to nowarn_flags -Wno-shift-negative-value add_to nowarn_flags -Wno-string-plus-int add_to nowarn_flags -Wno-typedef-redefinition add_to nowarn_flags -Wno-tautological-type-limit-compare +add_to nowarn_flags -Wno-psabi gcc_flags="$warn_flags $nowarn_flags"