Message ID | 20230724171524.2687112-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 D72AD385771F for <patchwork@sourceware.org>; Mon, 24 Jul 2023 17:16:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D72AD385771F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690218960; bh=iHSnzzgesZnMG/scxVuT3d9UOS1q/rLAW1xQIUXMA44=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=PCA7uVedBytNbcyJhifY/QV2p2/mbXStFdul9vjdpbu7pGTHSb3fxF43h/F+Fs86w /a3KHslREoihV9EKqf+xgSRmc0I2Q+KlePwQq0CoKKtBcrdZsOzRouG7eGj3I6CAv7 bZ/moGunT6XYa65/n8SIHxrnhqynn70T8sfzippQ= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by sourceware.org (Postfix) with ESMTPS id 3A86F3858C5E for <libc-alpha@sourceware.org>; Mon, 24 Jul 2023 17:15:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3A86F3858C5E Received: by mail-oo1-xc2b.google.com with SMTP id 006d021491bc7-56598263d1dso2752250eaf.0 for <libc-alpha@sourceware.org>; Mon, 24 Jul 2023 10:15:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690218930; x=1690823730; 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=iHSnzzgesZnMG/scxVuT3d9UOS1q/rLAW1xQIUXMA44=; b=fKp37Z5/8ahNE3ZkE5DAQTKDC3fFkSByssTEV9Sg4Rn3yVM0WbbXgw+nAQQ36U/WVx OAL4uXEQ16/cd+aY4QUyOtisb7KasCenWhXMRp3d6Jaz0XvntUzNATXDHdVIEqrdcxFg Kle3dJ9LomnwhtbP6XO0ErHP8zKPGt5GSPK3+oOK+niPp0Fetfn3SkgYryFcsg4kzanf SGjeUFvaUZ8w1cZcMMm8+ypidI9472SkbmPMsyv0NMr0QQYpW22YdGd8AKZNFHSOShvO vlvgn7r2BIBqupDdUVBOHnmlKUt/D1ijamic0+wpRWvb+Aw4x1l+EekxnDq+X9/SYGR4 RmUQ== X-Gm-Message-State: ABy/qLa82/Eh2L/E2XF0Yij88b89/KTBzrQVUFvrNy62nmqk2OjhHe+o Jvn1zNH2501T3IruFbLon/Zl0+6jgTuVx/HSJQTnrw== X-Google-Smtp-Source: APBJJlGf6BP6oWJcsOMZ28hwvZCGX7fKmMTwn/ci1esH/vT1LUBR6xGQkW37TkoGa88DWX8uhokvxA== X-Received: by 2002:a4a:6206:0:b0:566:b483:ee00 with SMTP id x6-20020a4a6206000000b00566b483ee00mr7244285ooc.5.1690218930020; Mon, 24 Jul 2023 10:15:30 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:d4d2:46e0:428c:6669:da90]) by smtp.gmail.com with ESMTPSA id x140-20020a4a4192000000b0055e489a7fdasm4602286ooa.0.2023.07.24.10.15.28 for <libc-alpha@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 10:15:29 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH 0/3] Build fixes for older gcc Date: Mon, 24 Jul 2023 14:15:21 -0300 Message-Id: <20230724171524.2687112-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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, T_SCC_BODY_TEXT_LINE 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 | Build fixes for older gcc | |
Message
Adhemerval Zanella Netto
July 24, 2023, 5:15 p.m. UTC
Checking if glibc still builds with the minimum advertised gcc version showed some issues, which are easily fixed. There are some issues that are not easily fixed that either would require GCC backports to old releases (like ia64 GPREL22 overflows issues again __dso_handle), a large backport on old glibc releases (riscv R_RISCV_GPREL_I relocation against __ehdr_start that was fixed by a code refactor only presented in 2.35), or large compiler backports (like for arc that prevented build with gcc older than 9). Adhemerval Zanella (3): malloc: Fix set-freeres.c with gcc 6 sunrpc: Fix netname build with older gcc powerpc: Fix powerpc64 strchrnul build with old gcc malloc/set-freeres.c | 46 +++++++++++++++++++ sunrpc/netname.c | 4 ++ .../powerpc/powerpc64/multiarch/strchrnul.c | 14 +++--- 3 files changed, 57 insertions(+), 7 deletions(-)
Comments
Am Montag, 24. Juli 2023, 19:15:21 CEST schrieb Adhemerval Zanella via Libc-alpha: > Checking if glibc still builds with the minimum advertised gcc version > showed some issues, which are easily fixed. There are some issues that > are not easily fixed that either would require GCC backports to old > releases (like ia64 GPREL22 overflows issues again __dso_handle), > a large backport on old glibc releases (riscv R_RISCV_GPREL_I relocation > against __ehdr_start that was fixed by a code refactor only presented > in 2.35), or large compiler backports (like for arc that prevented build > with gcc older than 9). > > Adhemerval Zanella (3): > malloc: Fix set-freeres.c with gcc 6 > sunrpc: Fix netname build with older gcc > powerpc: Fix powerpc64 strchrnul build with old gcc > > malloc/set-freeres.c | 46 +++++++++++++++++++ > sunrpc/netname.c | 4 ++ > .../powerpc/powerpc64/multiarch/strchrnul.c | 14 +++--- > 3 files changed, 57 insertions(+), 7 deletions(-) It would be great to still have this in the release. That said, I can't technically judge it, so a second OK would be nice.
On 25/07/23 17:06, Andreas K. Huettel wrote: > Am Montag, 24. Juli 2023, 19:15:21 CEST schrieb Adhemerval Zanella via Libc-alpha: >> Checking if glibc still builds with the minimum advertised gcc version >> showed some issues, which are easily fixed. There are some issues that >> are not easily fixed that either would require GCC backports to old >> releases (like ia64 GPREL22 overflows issues again __dso_handle), >> a large backport on old glibc releases (riscv R_RISCV_GPREL_I relocation >> against __ehdr_start that was fixed by a code refactor only presented >> in 2.35), or large compiler backports (like for arc that prevented build >> with gcc older than 9). >> >> Adhemerval Zanella (3): >> malloc: Fix set-freeres.c with gcc 6 >> sunrpc: Fix netname build with older gcc >> powerpc: Fix powerpc64 strchrnul build with old gcc >> >> malloc/set-freeres.c | 46 +++++++++++++++++++ >> sunrpc/netname.c | 4 ++ >> .../powerpc/powerpc64/multiarch/strchrnul.c | 14 +++--- >> 3 files changed, 57 insertions(+), 7 deletions(-) > > It would be great to still have this in the release. > > That said, I can't technically judge it, so a second OK would be nice. > We can always backport it since it should only affect old compilers.