From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id E150A3858421 for ; Tue, 20 Dec 2022 22:01:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E150A3858421 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-x636.google.com with SMTP id d7so13636161pll.9 for ; Tue, 20 Dec 2022 14:01:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3G2yU1MgRb/Ra1QnwLdxQ3gz01hZPR3B8+4AiuUs+Kc=; b=BLSVs107ZRYerIibBQRxdgVtLZJ6EDXsuyhLTBGmf2tvVFM5D4vmsHtXhwqk/I3/p/ PJ0oYTbt6Upgpo9hLSAK6rJzS2tOdaoPDz8XSCbBTf+nq63V+kmNaCyOe+AdNPRN79FT L6VTc3QRsE9UNhaOacPOXx0s+9wG1RL+0iT4gGGTWzgEJKuXT+ghczgdilnWJDJ4uCKF 5iCCav0/AZ03+TvJxQrqSCpbBa0q/DQxFjRoVw+atGBqBn8E+h1zV6rIMw1vPbbAd4oM hW+iFuN7rfRSv10nIv4ehDDVCcFAYT7mJMoH51jhtK6CvUJlOT38tEhVijOWiLNOuTob HgvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3G2yU1MgRb/Ra1QnwLdxQ3gz01hZPR3B8+4AiuUs+Kc=; b=BPzQga1dWMGS0VmO/hLnGh0PmrC/lSHzJy/fwq4/l6HbSj/6iTQNpAH4udRyVDXkhR bA0RatzQJNbhRt1XspV2HoFHU0+AptEKGilamNa6Nzog1p9JIW9GJa+/YgLP8cC/Rs65 HWabaevDbDZUVjvSwGC2cjWmOv2dLJLi9t+RThdyw2SAFgU4r2lCCzLYwQVTOX55tHS3 DU/YBDN2fd1hi9PyTWjnBTsjbefp4yLzU5U29lnICRZqSnk7FnL/+lBtd6g9D4h/w9v/ QYnwQm0NaOwiPipJTujaLuOG6EnUOV4YxjN4Rmk5wWC8N09eAmZD9gGwUauXd63FQlzp NEUA== X-Gm-Message-State: ANoB5pmGWGmb18oX7go6vMxwRoSwHyZDlVs70boGNCiZwba424HK3GQ/ WEigsRBXM42LogxHT9ES23S1pxx+Om6GBpiP X-Google-Smtp-Source: AA0mqf6QiGErqi7T2LcjtERjhT6AzPMUhJACZenPo4rb3SOGkulc9ff1GoCv99NAN8XzvryNn9JzGQ== X-Received: by 2002:a05:6a20:a012:b0:a6:713d:4343 with SMTP id p18-20020a056a20a01200b000a6713d4343mr55796569pzj.5.1671573667935; Tue, 20 Dec 2022 14:01:07 -0800 (PST) Received: from [192.168.50.116] (c-24-4-73-83.hsd1.ca.comcast.net. [24.4.73.83]) by smtp.gmail.com with ESMTPSA id k10-20020a63ff0a000000b0047048c201e3sm8770398pgi.33.2022.12.20.14.01.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Dec 2022 14:01:07 -0800 (PST) Message-ID: <4f1ebeb1-59f3-3d2e-330d-07d36c7dac0a@rivosinc.com> Date: Tue, 20 Dec 2022 14:01:05 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 0/6] Refactor binutils configure usage Content-Language: en-US To: Adhemerval Zanella , libc-alpha@sourceware.org, =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <20221202190030.1671870-1-adhemerval.zanella@linaro.org> From: Vineet Gupta In-Reply-To: <20221202190030.1671870-1-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Adhemerval, On 12/2/22 11:00, Adhemerval Zanella wrote: > This patchset fixes a long standing issue where some configure checks > are no done with the target binutils, remove some old definitions not > required anymore, remove the AS usage (since it is not used directly), > and allow all binutils tools to be overriden at configure time. > > It should restore the previous behavious while setting OUTPUT_FORMAT > for multilib toolchains. If the uses requires a different binutils > tool as default, it can always override at configure time. As of upstream today, cross builds are still broken for OUTPUT_FORMAT. Thx, -Vineet > > Adhemerval Zanella (6): > configure: Move locale tools early > configure: Remove check if as is GNU > configure: Remove check if ld is GNU > configure: Remove AS check > configure: Allow user override LD, AR, OBJCOPY, and GPROF > configure: Move nm, objdump, and readelf to LIBC_PROG_BINUTILS > > aclocal.m4 | 67 +- > configure | 2441 +++++++++------------ > configure.ac | 233 +- > scripts/build-many-glibcs.py | 1 - > sysdeps/unix/sysv/linux/powerpc/configure | 28 +- > sysdeps/x86/configure | 4 +- > sysdeps/x86/configure.ac | 2 +- > 7 files changed, 1200 insertions(+), 1576 deletions(-) >