From patchwork Fri Dec 2 19:00:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 55337 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C1F73384EF4D for ; Fri, 2 Dec 2022 19:01:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1F73384EF4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670007686; bh=7z1eGnXwJISgCyl79eGFx99UFV87WGA7UTN+iyvaPME=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=lScaI3LYbPeeqXff4b7NuyAqmBQdg2WJDRI2XpDNsPk5WbEJYWI0vopQ4LfTVN6X6 5OCSB8dT2ZngDnX7iXQd8tKyQdv+5PvW1BtCuOQV4Dg8cnvxpJSiIO3lE/lkf97Ljy g1gNhUiofqIiEOHs6fDISvr6OmPlUA4GKALms5XU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id E7E2A3857C45 for ; Fri, 2 Dec 2022 19:00:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E7E2A3857C45 Received: by mail-oi1-x230.google.com with SMTP id e205so6204069oif.11 for ; Fri, 02 Dec 2022 11:00:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7z1eGnXwJISgCyl79eGFx99UFV87WGA7UTN+iyvaPME=; b=A7ANLVzcA1S76TCkZrbqDyROhFAteHdjBXeeAg5nzp4lNrzmap9xBTY02VbImwyeve z6gTfbm2cGNSz5rgFRM3PPvL+kO0PmHIzoSE40iSzHH8e33jOn9W0P3dc7XOELgWT+7i bkb64cTPf7GVPlVFZwrUZ8HlT4U6W3ywYRSnmFaFTMLDxirhGLH3god6iVMbA8ZcXE0+ 6u4Sc+6kFvwZjKpeXYWdujJdOhmFiVzLhLYUU/zW3FvVzrwkKkO7QAKLK2jTXM9/JWlv 0nEgmcHCBOwn3KIi9IC0nM5NWfJxXY8wxmqsix9CialY9AhL7lX/c1YGjyzJ1GB6DBeD ls7w== X-Gm-Message-State: ANoB5pnPr/4pvw+6lksxswIi6mZxN0IS2Q0pQeTiJo12s1QKJU0lv69R Hqyu3tNguNCVQxQwuXhuY3RpsARuUkl38L9A7Vc= X-Google-Smtp-Source: AA0mqf4V0nOw3Ih6AUsfCMWHds8DL6xAtKVDObESDu0FCHeJCuyjK/6un/T6mK/jBswUFF/EJ290zw== X-Received: by 2002:a54:4388:0:b0:35a:7db1:8d13 with SMTP id u8-20020a544388000000b0035a7db18d13mr26756831oiv.202.1670007634076; Fri, 02 Dec 2022 11:00:34 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c1:f215:6472:4682:7ef0:a0a8]) by smtp.gmail.com with ESMTPSA id k60-20020a9d19c2000000b0066ca9001e68sm2218159otk.5.2022.12.02.11.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 11:00:33 -0800 (PST) To: libc-alpha@sourceware.org, Vineet Gupta , =?utf-8?q?Ludovic_Court=C3=A8s?= Subject: [PATCH 0/6] Refactor binutils configure usage Date: Fri, 2 Dec 2022 16:00:24 -0300 Message-Id: <20221202190030.1671870-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" 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. 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(-)