From patchwork Mon Jan 3 17:33:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 529633 Delivered-To: patch@linaro.org Received: by 2002:ac0:9f5c:0:0:0:0:0 with SMTP id l28csp1012779imf; Mon, 3 Jan 2022 09:34:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3o4z+zEYTN0foTqYCiaUX81bYptVSUmKE7OyHBVb+Sb3Cuv0mPr/fcSDTgKMmZc4qe2wf X-Received: by 2002:a25:69c9:: with SMTP id e192mr13302005ybc.164.1641231270764; Mon, 03 Jan 2022 09:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641231270; cv=none; d=google.com; s=arc-20160816; b=aZ8vTDOxT9sDGi3M2F30VxruCm1JzniTYwAvrgWi2103mcx6F7Cpwcwm3IK1UO3Nq1 ICzCTZWWUmqtIW1KYqtV8pZEX6h0xwp8IDSwGpbtPKBy4Kgw2uFg5jGkh4ke3GljcGkT ywC91XAxAocpzqFsMl40hQmRx7wQiSeuV/DtXvlGvC5eIV9i+txRvKH6wyyOSFGhEB8x Y6MrnCDVNvkC9/qiYPO+ZDXMgVzPSM99pWjDr6MbDUAPjmZlA0hGu++/JZLUUdwili0J g1yjZ0rkm4mmAgedPh8ovDOmF2LFP6hwg2fGTkCIR5HuW5FqQ2Te5FjyzVH6coGknxkq wjzA== 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=d5gaGDZ+99ggf9ZXPhFh9Enr0XUZOvFdyJRvEuhLCgk=; b=rtX+oau2Kkwaxn71ob4NUphWtYqvpaDJFcq1DdodN9/pCTlpN7t3EBlsFYd4bTmW4y 81Swj42vNUcbj13NcqeQedo3h8eQF2zjZxXUFZLp5kKjUQIoemXKr2MeUSdjeiMPPNv6 guFL0ATBtwkdM74flFbkpZc3+AZjCpWMjfcCoP6Xs0u0aY/IPrtgAOXiOiWtKHvprs6o IGbyTy7x/uHTZBvDCMixSAN6T1+tqeUGoklBoByU5Ais/Cvpiz77cViBTsheiN0vnMzQ AfzU/rncwwjI2vpdM7gLVjpA+bLPDSURcBJZxSCQjObQbdrMut1rbu5P7cBzOKbZyrsv eTpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gW+H9mMp; 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=pass (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 k18si19209282ybf.809.2022.01.03.09.34.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jan 2022 09:34:30 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=gW+H9mMp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4RE6-0004bQ-8V for patch@linaro.org; Mon, 03 Jan 2022 12:34:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4RD9-0004au-Hp for qemu-devel@nongnu.org; Mon, 03 Jan 2022 12:33:31 -0500 Received: from [2607:f8b0:4864:20::62a] (port=43792 helo=mail-pl1-x62a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4RD7-00088n-US for qemu-devel@nongnu.org; Mon, 03 Jan 2022 12:33:31 -0500 Received: by mail-pl1-x62a.google.com with SMTP id l16so13226137plg.10 for ; Mon, 03 Jan 2022 09:33:28 -0800 (PST) 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=d5gaGDZ+99ggf9ZXPhFh9Enr0XUZOvFdyJRvEuhLCgk=; b=gW+H9mMpOQ7xUmG6jUQ9pHc/5dSwbi94lom5aBmw9nUoHdv7CoE9cdLTWuURP8ZtOj CeKUZO674+A7Knvql+k9JkOPvIg6GSveq0wH+2DAGxPyvAcRhp4VeViMjLbhsYdYTzvr sJJgq2VK+ucrVsgR+a0ApObMnr4Qg4kl7WLFUfgtb5BQ3KxCKX+EjwrtKZNE02dB9hxE B7cT2OBSIUpfGEgYequHzZY8u/cSwN4pY4TUS5ZyDfj9FKS9JwmQpfwb6bbONsC9wF3p Ufyt8jWmok/hUwH9fEKhbLRmc+r4HukgpCFLWiN7j/xxym5QI79+w+SycqwZpyrgAnYy rPTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d5gaGDZ+99ggf9ZXPhFh9Enr0XUZOvFdyJRvEuhLCgk=; b=lzQfAGlB6jUM15KVm6Pd/0Wgo0Joo4aUP8egLVP/itG7OhBVNNVNv4rGiJFzFzC74D YzcrnBRXJzV4tpyV9XxrycRmGMeUxY2fJZ64MS3v5tFnyxzJfKhKyA0XnHrbdKm+VZ3e ur1R/Il6vutgP0Xid2uEcPYDjzo8uqS8EAM8bRdXklgbOtByo27CLes8ih0WCmhTWxlq hsT13uqZbJlQgKy2bB/Kvt98leCl7hru/rMxpuwkf2Oyr3CBnmrPsrh5ODbABC5rwSuE yPbRy9OGMJglJOsxVejXnGOlvrf3JpT2b/l+txYssWwCi/g9r1ph1ZMVRYYpP920nroq c53w== X-Gm-Message-State: AOAM530Nu4jxfK/iilcZ/ejAu0rw2st/zgUhs8C6CpKsNLlOdm2VzZI+ zJDksYsDHFrBoIjRwgA4GEdbu1YywHeRwg== X-Received: by 2002:a17:902:e0c1:b0:148:fef1:37c9 with SMTP id e1-20020a170902e0c100b00148fef137c9mr46266721pla.3.1641231207861; Mon, 03 Jan 2022 09:33:27 -0800 (PST) Received: from localhost.localdomain (174-21-75-75.tukw.qwest.net. [174.21.75.75]) by smtp.gmail.com with ESMTPSA id s14sm39348564pfk.171.2022.01.03.09.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 09:33:27 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 1/5] meson: Unify mips and mips64 in host_arch Date: Mon, 3 Jan 2022 09:33:22 -0800 Message-Id: <20220103173326.257152-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220103173326.257152-1-richard.henderson@linaro.org> References: <20220103173326.257152-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Fixes the build on a mips64 host. Prior to the break, we identified the arch via the __mips__ define; afterward we use meson's host_machine.cpu_family(). Restore the previous combination. Fixes: 823eb013452e ("configure, meson: move ARCH to meson.build") Reported-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 886f0a9343..53065e96ec 100644 --- a/meson.build +++ b/meson.build @@ -74,6 +74,8 @@ if cpu not in supported_cpus host_arch = 'unknown' elif cpu == 'x86' host_arch = 'i386' +elif cpu == 'mips64' + host_arch = 'mips' else host_arch = cpu endif