From patchwork Thu Jul 28 18:39:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 594078 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b345:0:0:0:0 with SMTP id w5csp727728maz; Thu, 28 Jul 2022 11:40:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uWiXhCXEzpM7Pi7kC2MGgAlnGcPfNB80D0Sv6f8JVMRPeOlihDlVavuUmtc8Ov2Vxwuk9K X-Received: by 2002:a05:622a:13:b0:31f:5a4:2f2f with SMTP id x19-20020a05622a001300b0031f05a42f2fmr298766qtw.362.1659033623063; Thu, 28 Jul 2022 11:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659033623; cv=none; d=google.com; s=arc-20160816; b=GOo416yb0O2PMPqVr/x4P6QQR6YPS4EYMAbikNKc5SS20wETHch+p7QPiqxeNqm5BO RqvadujBaeYR6j/MOvjytwJXznA0PBWsBL7XprczR/EVYznzY+8h202AOo15KWkc68rd Ti+9R1dvzfXi9HJlt7KCa3U8fI1Rpky64RMbB8K18LvDxtKCLAeGM6MvtCzlnxpowlZY DYFGIR0xS1BPpaaKsnqBhUQFQYLMWF3IObJ6YjB5b8MnhNjW5DfBhFbq4N9YTjyzZndK hz5rhVPbOyA9UDLcvpiwPPFklVSbPhUqBxnRaZSfmZ6Mb3SUS8UXN5UaCkBE4M6+kJtR p9Ow== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=D6f5sRV0SCo9+R7gXNxE07N8Dy0oFrQafBGk850asyI=; b=NFK7DDC51OwtCzvljRUJyA9XB9t3Im8xPzETvCeXPj/DMbsJFOWoJwvVH6RHR+BEA+ hN4I+c44TuDOnVrcQPPSON2SaO9gs46uhes45hCDtAKH6tHJfNcmr6xUSElULY+HIRZP P2RwCTjarCKGbk+Nr5yHUV16f/S0i2gR4JSqrbN9FaDskLQj1o2XZGQQ2KnVKG/Fei8q 9nQEvtbPMH98w9cnouLA1jshx44eTLyWs/tnqv/8JLFL5e7tWZqQOupDHnX9zo3InRIe Iy2vu/cpnL1Y7Buma5OqPaTjXT3rvtvh6Osw+n5nT75ctCk9en8TbVX+YntzfSJKk/S6 i9uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BpcoHpv7; 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 d18-20020a05620a159200b006b5adeb5ef9si814946qkk.305.2022.07.28.11.40.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Jul 2022 11:40:23 -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=BpcoHpv7; 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]:53882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH8Qo-00008g-LB for patch@linaro.org; Thu, 28 Jul 2022 14:40:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH8Pb-00006l-10 for qemu-devel@nongnu.org; Thu, 28 Jul 2022 14:39:07 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:34781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oH8PZ-000211-8A for qemu-devel@nongnu.org; Thu, 28 Jul 2022 14:39:06 -0400 Received: by mail-pj1-x102c.google.com with SMTP id c19-20020a17090ae11300b001f2f94ed5c6so5563970pjz.1 for ; Thu, 28 Jul 2022 11:39:04 -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:mime-version :content-transfer-encoding; bh=D6f5sRV0SCo9+R7gXNxE07N8Dy0oFrQafBGk850asyI=; b=BpcoHpv7MQPiX6oBBxcb5luSATML16Mc+DR1V+SbzRv4hyVLywZYKxtEQ0aIhrRspu ShP9qUg1na12arcjqk6NA7YARxKFNT6o4+MNS922lBiPPhLDhTWqE0ip3KiVj4CblCOm X9kaTYQl8fwX4K07G39v83xO9Xx7829pEPNbYisgL5AwcLpp3BGJWQIc+f8qnXmB/RGc ylxy9Txhx7Wci5/u5+9SidZnvThcV9I+ibXDXkF4PVfqexeo4L4c5LdZKQoj9N2uZCA/ 52Drm+RFilJvVGhOkhqFLpFbSSYk09swWtm7zkx3cUNh3hJsbBBl6V2/+x87Ovpki82B YZCA== 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:mime-version :content-transfer-encoding; bh=D6f5sRV0SCo9+R7gXNxE07N8Dy0oFrQafBGk850asyI=; b=G84eKoYjrFF2EJicQm0hajgu3vg95J+VtyZtXVZXb7eYILGp3bGK41RGLqHRPJAf82 7TqIluJnfQdsI4nPcTszhK81QHUwu/8TcaxOcTdBtVbXcJED2lt6OjMJVs8ELE43eccB Stor5vhnjq92J0K/9VRQIu9pMv7O7zyDiFJsFJZJeWYmopwbEpwdjhuulI1l6WVs/8ql IfNgHr0kD0Zfs79hhvxAtq52bFvINmPBs9KxxqPC1gRxsRJVtf0YD5hh1zQRHM+6uhwO 3YRD5je8AMUCzMpNNOULpoADs2Hfnkzj8heHMabkTNkSR0voQqjZxZsg1YWDGOje0ASB rI4A== X-Gm-Message-State: ACgBeo3/dGTJiwTHyG76UkKxgDyvdqUM9sYqMuT3JiMPZeSIZUlCUBYK uz2JTeK6vnTki6S7c6F3+J2AoawWNGRHng== X-Received: by 2002:a17:903:2041:b0:16d:a78a:efd9 with SMTP id q1-20020a170903204100b0016da78aefd9mr157769pla.71.1659033543527; Thu, 28 Jul 2022 11:39:03 -0700 (PDT) Received: from stoup.. ([2602:ae:1549:801:d1a3:8e57:d847:7607]) by smtp.gmail.com with ESMTPSA id q1-20020a170902dac100b0016c0b0fe1c6sm1744133plx.73.2022.07.28.11.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 11:39:02 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com Subject: [PATCH] configure: Fix ppc container_cross_cc substitution Date: Thu, 28 Jul 2022 11:39:01 -0700 Message-Id: <20220728183901.1290113-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102c.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" When moving this code out of probe_target_compiler(), we failed to adjust the variable in which the target is located, resulting in e.g. powerpc64-linux-user-linux-gnu-gcc-10 Fixes: cd362defbbd ("tests/tcg: merge configure.sh back into main configure script") Signed-off-by: Richard Henderson --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2c19329d58..c4c02b8438 100755 --- a/configure +++ b/configure @@ -2028,7 +2028,7 @@ probe_target_compiler() { ;; ppc64|ppc64le) container_image=debian-powerpc-test-cross - container_cross_prefix=powerpc${1#ppc}-linux-gnu- + container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu- container_cross_cc=${container_cross_prefix}gcc-10 ;; riscv64)