From patchwork Wed Jun 1 18:05:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 577829 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:8f0c:0:0:0:0 with SMTP id mq12csp862135mab; Wed, 1 Jun 2022 11:34:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCDjZQmvHEXBxTKVnzDUZy+zOMNEoBzxFwuqCdHaQkktRW4h0uZFTenapnFLZmP8hquhIZ X-Received: by 2002:a05:6214:c4b:b0:462:508a:408b with SMTP id r11-20020a0562140c4b00b00462508a408bmr37052480qvj.59.1654108496545; Wed, 01 Jun 2022 11:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654108496; cv=none; d=google.com; s=arc-20160816; b=HTlvi4HyvZI9IC7jDsKIql0tYfR7TNU+UWuj4QuCiJBgiajZ1olxxxLMEfZeTvtUwy A+4hqRYiy3X0UFojSxFIBaiL840Br1oVi+yNBDTf88bABeChHFvhU4gNn/qWUoPwBQmS VJIr8si/PEl3h+6Kw7st0duzKL2FdJBcJ/K8O1+OI6R1Dl5YFi9kXlDBeNDIN5poE80i 142NhGqMZ0zMpx2nBJ3ahayf0Vk3rcogUckvULwiZVbeCCgyYXWHvQiXKAybM+tIr8Oz z1fTDV3a1xqklqw+cXklPxRB5Z+cZt8AOJTbHAshaZ1FEXtaolw7IFGzYhHBhQ5NjwEt menw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=sw2OZqRVvOz9tIkmle+PbxpD88wzm28TBbpK/4AWTv4=; b=H52r7cVNpOnKqOA2ATTVnDXbQBtXmqQOsbWFa8PY1fn9ovUDyddTmjMaK9Jwa1SGum MdIBVaXXdYteLlecORir33QM/e27yV45eAhACT6XvhP6tBc/IwtEmmVlTKyzxkO613G/ 3aQlrdxVkbbJXK/Ugo94Wbl+lfcUIXZdfbijJ7K0hVDpWnHP1ZcCUTX4sDK7HuQvgziv lqDitezVElrhzEcvcDUGzzfihVR8p1b510LsUkeu6KqTyY00ZExI6fHA7Mq8/iuH1D3x nZ8hgw+txL7fvjEOdRJEvVLIyZGf8ybIKO7/YDjaTPzoBVWESlpEXlzY0BmYpT4bCMh6 5p2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kNDzNz3l; 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 y9-20020ae9f409000000b006a5f932f2a7si1234328qkl.105.2022.06.01.11.34.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Jun 2022 11:34:56 -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=pass header.i=@linaro.org header.s=google header.b=kNDzNz3l; 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]:43656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwTBI-00086Q-3q for patch@linaro.org; Wed, 01 Jun 2022 14:34:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwT0n-0005iR-3c for qemu-devel@nongnu.org; Wed, 01 Jun 2022 14:24:06 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:42715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwT0k-0007wB-MD for qemu-devel@nongnu.org; Wed, 01 Jun 2022 14:24:04 -0400 Received: by mail-ej1-x62a.google.com with SMTP id q1so5443580ejz.9 for ; Wed, 01 Jun 2022 11:24:02 -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=sw2OZqRVvOz9tIkmle+PbxpD88wzm28TBbpK/4AWTv4=; b=kNDzNz3lLx/88IIoM3R1jkKc4NtduFyUinL0P4U5WzNDfL8K1AgKUk7iR486pwBL+T Al3XXwlIh3D0y2GAZDvQ5XAjmv8QBGc3W0PHFbHU9Hx7Z0lFCII6rq8ozrEjStc9aRlq tFQHbXGH3Iyqu7Le/5KVwykrsUsz/5OI4p5irTWeJ29CLPD+17aMLQQxldE2QcNrk0di GNZvhiBdZkp/T5X7uwjK0IR+wRRZzTqDVz8I+ExLJDxYHwEqCxHsa9H+9xyUN99TnNGR dzYXl/x9HDHgGElajIEHyZjJCDGPoCy4U55iIJBm1btES3cbjrLaAq5V7XhfXoNRNgv2 fG7g== 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=sw2OZqRVvOz9tIkmle+PbxpD88wzm28TBbpK/4AWTv4=; b=KoW+iSPD4n/Qh45GexDSzEfahBM0V9r6P/8gGI5mq/j6LvfZNLv+4sMj4+yBT8aU5X dCWu5AOAoY6IcDq0DZ37IVk8RykTlNS07xVxpnrp+Wo5/6uBmTocWN/Q1xfW5DyEw3zr FIhe9lT20cYCRGC3qB1sQwHvt3AXkwZi+K4pR8LaBleTWNJTfu7RaUesJJvM9g0fCI3j Y4B9gWYsFs/kruabyQogj16vmXC9EzYzU7a3taB3N3wnpD/XeGbWassUvEzJASbcox4r VU9oMavU0St3j8L+faWq3NX6Dof8RMF8TL3P4j52bixCiuQet/LnD/PXzsNlWoJOL1Fh NybA== X-Gm-Message-State: AOAM533aNnPtba2Qz5ovAerFhjXt3yfpMtBxmJ300gR16L6hPxF2f7u5 Hs2NUbmeBcGvx+8FCL6+d49t+Q== X-Received: by 2002:a17:906:974e:b0:6f5:2d44:7e3c with SMTP id o14-20020a170906974e00b006f52d447e3cmr740104ejy.167.1654107840752; Wed, 01 Jun 2022 11:24:00 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v4-20020aa7dbc4000000b0042de38b8c49sm1339509edt.34.2022.06.01.11.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:23:57 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7CD0E1FFCA; Wed, 1 Jun 2022 19:05:39 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, richard.henderson@linaro.org Cc: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PULL 19/33] configure: add missing cross compiler fallbacks Date: Wed, 1 Jun 2022 19:05:23 +0100 Message-Id: <20220601180537.2329566-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220601180537.2329566-1-alex.bennee@linaro.org> References: <20220601180537.2329566-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62a.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini The arm compiler can be used for armeb, and the sparc64 compiler can be used for sparc. Signed-off-by: Paolo Bonzini Reviewed-by: Richard Henderson Message-Id: <20220517092616.1272238-9-pbonzini@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20220527153603.887929-20-alex.bennee@linaro.org> diff --git a/configure b/configure index f91ac632e7..fbf6d39f96 100755 --- a/configure +++ b/configure @@ -1827,6 +1827,7 @@ fi : ${cross_cc_cflags_aarch64_be="-mbig-endian"} : ${cross_cc_alpha="alpha-linux-gnu-gcc"} : ${cross_cc_arm="arm-linux-gnueabihf-gcc"} +: ${cross_cc_armeb="$cross_cc_arm"} : ${cross_cc_cflags_armeb="-mbig-endian"} : ${cross_cc_hexagon="hexagon-unknown-linux-musl-clang"} : ${cross_cc_cflags_hexagon="-mv67 -O2 -static"} @@ -1849,9 +1850,10 @@ fi : ${cross_cc_riscv64="riscv64-linux-gnu-gcc"} : ${cross_cc_s390x="s390x-linux-gnu-gcc"} : ${cross_cc_sh4="sh4-linux-gnu-gcc"} -: ${cross_cc_cflags_sparc="-m32 -mcpu=supersparc"} : ${cross_cc_sparc64="sparc64-linux-gnu-gcc"} : ${cross_cc_cflags_sparc64="-m64 -mcpu=ultrasparc"} +: ${cross_cc_sparc="$cross_cc_sparc64"} +: ${cross_cc_cflags_sparc="-m32 -mcpu=supersparc"} : ${cross_cc_x86_64="x86_64-linux-gnu-gcc"} : ${cross_cc_cflags_x86_64="-m64"}