From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x230.google.com with SMTP id e205so6204069oif.11 for ; Fri, 02 Dec 2022 11:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=7z1eGnXwJISgCyl79eGFx99UFV87WGA7UTN+iyvaPME=; b=AY+HLzW4K3hxr4zObxVGCcYbHReKhzoDdvaI46X4yocs4BfI7tJF4741x0ltdnRZe1 FtW/rG6U5uqAh6rwohLW3lt+qADXpyrxv2ls4v8S/QpwqrzdxlrPn3dtSBux0Gs2FeiT Hj09ADSLbs++ucib3IUKnCjARj0HBVjBo60oNInbWB6EqP6/4TyGt6EhG13VWqjjf09x xsA9ltv8hfGKD92xyngPT/59RhrdeQA5Oy1/+L630fcQCLsq4QzPoWtWG7eHMFudEIjA i59tfDneX4qYLh5iCDCOBFiX/9OZ7NYzQn/me/UcKS5FK5B3Usx5HlyNIBe/Orw5+EBs qlsQ== 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) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Vineet Gupta , =?UTF-8?q?Ludovic=20Court=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 Content-Transfer-Encoding: 8bit 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 List-Id: 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(-) -- 2.34.1