From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 13BDB3858410 for ; Thu, 28 Oct 2021 21:17:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 13BDB3858410 Received: by mail-pg1-x52d.google.com with SMTP id t7so7697063pgl.9 for ; Thu, 28 Oct 2021 14:17:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=uEJg5bCnodLuG2uv9zhxhWyJt5NUrbY6tEc9SxK8nT4=; b=p6w+ZXjM/e48l5W+rwcSOHRD70ZM9G05K+M8kXYSnVeaQhbeLtrgLJf/OJPL5A+fjB H5wvX8csjulqVLaM6LTMgxvZ7O4h7X7JyTq0TQ/NdNjGgZehmHFNONprdhDf3q1xj4bO RORosOF4K/2fuKojn4MsrcG6kBZomINsympfuRfXEoFFcuOG6EGCKpeZNCX4siphfaUN ZIiaFXTV0SWV9UVwU9UPN0/00rso799hH2qnZ7968bbdd9j+FhfIQ4AoDnTG2vmc1l6F +KB+rlIMmVbx9iov0TUPH46tMOxDAURuyLvbZL0MszbULzPTEc5hf6IdHm3AHYMpDxYt Wfew== X-Gm-Message-State: AOAM533P6atphksKf35+zeI1V6pK2cHgG6tqsMJpkq/QkEaFBFnQL6Eh f3jAYbrLIu92sdu2Gl0y629f30CdXqM= X-Google-Smtp-Source: ABdhPJy3j6Q2UT6mdoF9X3g1r+KqDmoye7IF6axjoiOuzdzRzLcL08sbvNGDUgwjxIRIF0jBQwWczA== X-Received: by 2002:a63:3e4b:: with SMTP id l72mr4936288pga.428.1635455840188; Thu, 28 Oct 2021 14:17:20 -0700 (PDT) Received: from localhost ([2409:10:24a0:4700:e8ad:216a:2a9d:6d0c]) by smtp.gmail.com with ESMTPSA id i2sm4223159pfa.34.2021.10.28.14.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 14:17:19 -0700 (PDT) Date: Fri, 29 Oct 2021 06:17:17 +0900 From: Stafford Horne To: Joseph Myers Cc: GLIBC patches Subject: Re: Upstreaming OpenRISC with GCC mainline Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Thu, 28 Oct 2021 21:17:22 -0000 On Thu, Oct 28, 2021 at 05:15:00PM +0000, Joseph Myers wrote: > On Thu, 28 Oct 2021, Stafford Horne via Libc-alpha wrote: > > > I was seeing failures there and thought the warnings I was seeing were > > affecting all architectures. But now I see the builds are mostly clean. > > So it's something I'll have to track down. > > The only issue I know of at present with GCC mainline is the testsuite > build failures for 32-bit platforms that are addressed by my patch > . Thanks, yes I saw that patch. I am trying to compare builds of multiple architectures. I do see similar errors on riscv32. I am continuing to try looking at other architectures, but just wanted to note this: FAIL: compilers-riscv32-linux-gnu-rv32imac-ilp32 glibc riscv32-linux-gnu-rv32imac-ilp32 build malloc.c: In function ‘_int_malloc’: malloc.c:4226:53: error: ‘nb’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 4226 | set_head (victim, nb | PREV_INUSE | | ^ malloc.c:3657:19: note: ‘nb’ was declared here 3657 | INTERNAL_SIZE_T nb; /* normalized request size */ | ^~ FAIL: compilers-or1k-linux-gnu-soft glibc or1k-linux-gnu-soft build malloc.c: In function ‘_int_malloc’: malloc.c:4226:53: error: ‘nb’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 4226 | set_head (victim, nb | PREV_INUSE | | ^ malloc.c:3657:19: note: ‘nb’ was declared here 3657 | INTERNAL_SIZE_T nb; /* normalized request size */ | ^~ GCC: mainline (2021-10-29 308531d148a) GLIBC: mainline (2021-10-19 46baeb61e1) Ill try to update GLIBC. -Stafford