From patchwork Mon Aug 7 11:07:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 131869 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1398346vqr; Mon, 7 Aug 2023 05:05:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEmK5dZV3vdOo6yTa0RqBpjVBhYalMN6x05wCxD8yriOxfDaoQfKH8qQkK1EmxioqJxHcc X-Received: by 2002:a17:906:74c4:b0:993:ea6b:edf6 with SMTP id z4-20020a17090674c400b00993ea6bedf6mr7835031ejl.0.1691409927096; Mon, 07 Aug 2023 05:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691409927; cv=none; d=google.com; s=arc-20160816; b=X9+esnYiXfZmbQXW3NkPs8jFQQ1pF0fJsUtogM5av4RFwxCbXSLde5H+C5jccAvLXp iX5aF9ftJ02I2A3PxQGtxeUOV8ngBkyzx7oegCfEpM7FDIubz6NpOTV1TMCF3lCmnmsA z84Et80Ih6j9av0nVWvauM1ZqcIVPAXuXSmkZSxkriI47TrhrjbXeevH/M6dMaHLPdAc ciXHrnx2IX3OeI4dKRr9f4vo3npN3Bj8FnjQLLNNUPg2aCjSz61omGe/z7aZXDumgA7X HxIumJnwTkmTMhOou4ZcirbQQtxMYCl5JSZ/mIGgalnOjpUJq4ievVgeVLYCbEoimgiF 4f1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from: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:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=6hf1OUpLliTbAjQQ/SLliWji08LvhqeTd0fjB/7EQc4=; fh=FFs63E51ij0mHtkybl54mjv8jZWhP7X3v36TDjxGKYk=; b=fal6NCEuYWc1f/7pwRFh0UJdOxzu4jPmhga0C8qU405PIUKhEoiZ1/ZYt8inwVe5RM TLGHrZPq8Dsf7MkeZXAMqFVRzRPQHlmBVrc5l9rGsL0iw+DByIiG7SrEbI4/2xcFmZdf oSmMeAuZbgYawcC4oZU6tr5ZaU0tpNwQTTIpK+oJ/rcI7cQDMXiGtNC+WrRzJYaFx7s2 0OKtG6rjOuCwc6T9a2ApsV69gRw/oh8T/U87OIwmd4p8c7QEB7uJKqpwIyATaScqbtDM XUZ4LL4G8wN6HCN2VCHV0dJiGtPzMxQk6bHv25r/KLqlOc/ADamj4+mvGWJVQ0sc6oHr w0yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=A3gfER2E; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 21-20020a170906059500b00991fe707692si5525683ejn.63.2023.08.07.05.05.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 05:05:27 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=A3gfER2E; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DAD073870C2C for ; Mon, 7 Aug 2023 11:35:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAD073870C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691408136; bh=6hf1OUpLliTbAjQQ/SLliWji08LvhqeTd0fjB/7EQc4=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=A3gfER2E7l2PAcV6j+wbQXPsvSL2P/dAHVq1+0621YLCCdtYvZYbT7M1nJ5E84vBg SHNy7/iCvJGG4EPXb+h13w3f8N6xl07w7T59anj4s/P08Cp6e/AKQM2iGMQ9YbzONS UvmJewj9PZA7MRBBnWJFBK+L/776AzoA6KHxPGeM= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by sourceware.org (Postfix) with ESMTPS id 844FA385800A; Mon, 7 Aug 2023 11:19:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 844FA385800A Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4RKDNq72Rfz9sRH; Mon, 7 Aug 2023 13:19:23 +0200 (CEST) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: David Seifert Subject: [PATCH 13/45] configure: use OBJDUMP determined by libtool [PR95648] Date: Mon, 7 Aug 2023 13:07:16 +0200 Message-ID: <20230807111029.2320238-14-arsen@aarsen.me> In-Reply-To: <20230807111029.2320238-1-arsen@aarsen.me> References: <20230807111029.2320238-1-arsen@aarsen.me> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4RKDNq72Rfz9sRH X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= From: =?utf-8?q?Arsen_Arsenovi=C4=87?= Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773571855285742255 X-GMAIL-MSGID: 1773571855285742255 From: David Seifert $ac_cv_prog_OBJDUMP contains the --host OBJDUMP that libtool has inferred. Current config/gcc-plugin.m4 does not respect the user's choice for OBJDUMP. PR plugins/95648 config/ * gcc-plugin.m4: Use libtool's $ac_cv_prog_OBJDUMP. --- config/gcc-plugin.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gcc-plugin.m4 b/config/gcc-plugin.m4 index ca98d674912..16ebe25182b 100644 --- a/config/gcc-plugin.m4 +++ b/config/gcc-plugin.m4 @@ -45,7 +45,7 @@ AC_DEFUN([GCC_ENABLE_PLUGINS], ;; *) if test x$build = x$host; then - export_sym_check="objdump${exeext} -T" + export_sym_check="$ac_cv_prog_OBJDUMP -T" elif test x$host = x$target; then export_sym_check="$gcc_cv_objdump -T" else