Message ID | 20221202190030.1671870-1-adhemerval.zanella@linaro.org |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> 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 <patchwork@sourceware.org>; 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 <libc-alpha@sourceware.org>; 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 <libc-alpha@sourceware.org>; 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 <vineetg@rivosinc.com>, =?utf-8?q?Ludovic_Court=C3=A8s?= <ludo@gnu.org> 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Adhemerval Zanella <adhemerval.zanella@linaro.org> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Refactor binutils configure usage
|
|
Message
Adhemerval Zanella Netto
Dec. 2, 2022, 7 p.m. UTC
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(-)
Comments
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(-) >
On 20/12/22 19:01, Vineet Gupta wrote: > 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 Yeap, we still need someone to help review my v2 [1]. [1] https://patchwork.sourceware.org/project/glibc/list/?series=14999
Hi Carlos, On 12/22/22 04:54, Adhemerval Zanella Netto wrote: > > On 20/12/22 19:01, Vineet Gupta wrote: >> 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 > Yeap, we still need someone to help review my v2 [1]. > > [1] https://patchwork.sourceware.org/project/glibc/list/?series=14999 Can you please help review the patches. Thx, -Vineet
On 05/01/23 18:39, Vineet Gupta wrote: > Hi Carlos, > > On 12/22/22 04:54, Adhemerval Zanella Netto wrote: >> >> On 20/12/22 19:01, Vineet Gupta wrote: >>> 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 >> Yeap, we still need someone to help review my v2 [1]. >> >> [1] https://patchwork.sourceware.org/project/glibc/list/?series=14999 > > Can you please help review the patches. This is the latest version [1] and I have added is a release blocker for 2.37 [2]. [1] https://patchwork.sourceware.org/project/glibc/list/?series=14999 [2] https://sourceware.org/glibc/wiki/Release/2.37