From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by sourceware.org (Postfix) with ESMTPS id EE0003858C36 for ; Thu, 26 Jan 2023 12:21:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EE0003858C36 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-x233.google.com with SMTP id s66so1218052oib.7 for ; Thu, 26 Jan 2023 04:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=V+cUkLK35cVGElrJ7Fgbc+EB7tbdtOciOstlz8lNeWI=; b=hnmX5KszuTykBej5PB+99e9lNhVC1FZx5RErqk+eg3dyIJvT7dQH2TvIsuFQNFGYXA 9NoGsRMxxkR1tsZyO0NFfU4+AMi+YDNkduu0e5MilkSzdXqANJfHp4TRi7lp4CHQzNjr FbXQAOeb8ZpKlAxBLHEeL8Q6EwkXpBEowDcsvVZ/MqzChUrOC3bjpcThU3oHqpz1cJn4 ch9rX2vPzXs95HI7nukZJzJyi2IRCVlUZbiWhpIdLOpWkZOvtD6/yMeoEUbbK1363B5Z 4vbpg039KXRMHGYFFehpuGYK02y5hXjACygZCvpQ1mL0TvkHXACIU4/ciBpvCfZp4A9H DBzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=V+cUkLK35cVGElrJ7Fgbc+EB7tbdtOciOstlz8lNeWI=; b=vNdCdYj9JHWZHGo7QfZzVjDj/3qp+l3WtY1fHYhmB7JDaxMMH22X7Yvncs+Q/U7jT4 rDL+I5sW6rSgAruzx0vLrE6rAT94aB6S/9ynVmLbv39ilD3j28ougN0wbgICdqgAO6y1 qaF+OvajHAHR8RSptiuDPYGa2YET4/CcmnSZkeBN+1GWaJrk41i7bvCuZKRvt36Jqxe6 uyOMLanUggjPJV0yOhOQhOvHCf2NzaUrI17dr4rn5xouSoMMrhvC5mx2rh8v2h5OyRRu i81xvoYo4kjAVB51JJ6cnELxudnQtvjvDY0I/ChUPOt2z/rs29KNJRcZ2rlj+NI1ed2S zDxA== X-Gm-Message-State: AFqh2kqpNFoMhKMzhxRap5QMhNIfQ/du3EIFURacR4qTHAEXlXc7fAjW PbSeo5VQeJGRZ48bH2lfUqfTK6vyofJXg03gyA4= X-Google-Smtp-Source: AMrXdXtAnqRuHU5bCBvAE48IHtznonyiF7tF107W636z/GvCPqsfwvF2H44+LdrW6a1kP9rbjtbZcQ== X-Received: by 2002:a05:6808:8c9:b0:35e:cc17:37c5 with SMTP id k9-20020a05680808c900b0035ecc1737c5mr15329674oij.9.1674735674576; Thu, 26 Jan 2023 04:21:14 -0800 (PST) Received: from ?IPV6:2804:1b3:a7c1:7e99:84b9:45b1:23f:44d7? ([2804:1b3:a7c1:7e99:84b9:45b1:23f:44d7]) by smtp.gmail.com with ESMTPSA id t14-20020a9d590e000000b006864816ecd9sm381102oth.59.2023.01.26.04.21.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Jan 2023 04:21:13 -0800 (PST) Message-ID: Date: Thu, 26 Jan 2023 09:21:11 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: time64 / Large File Support: 1) [2.28 Regression]: New getdents{64} implementation breaks qemu-user Content-Language: en-US To: "Andreas K. Huettel" , libc-alpha@sourceware.org References: <10857996.18pcnM708K@pinacolada> <6847475.SvYEEZNnvj@pinacolada> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <6847475.SvYEEZNnvj@pinacolada> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: Hi, I did see your pings on IRC and I recall I rebased my tree against master after it [1]. It is against master, so it should apply to 2.37. And the main issue I did not get much replies on last iteration, I will send a new version so we can track it for 2.38 (and maybe backport since it does not interfere with ABI). [1] https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/azanella/bz23960-dirent On 25/01/23 20:58, Andreas K. Huettel via Libc-alpha wrote: >> 1) qemu usermode emulation is broken when emulating a 32bit arch from a 64bit >> arch, bug 23960 > > This is bug 23960 [2] on the sourceware bugzilla. As you can see it's been around > for a bit, and breaks emulating a 32bit architecture on a 64bit architecture. > > Fear not, there is a fix, a patchset by Adhemerval Zanella [3]. It's been part of > Gentoo's glibc for several years now, solves the problem fully, and has > not led to any problems. > (We are in Gentoo Release Engineering heavy qemu usermode emulation users, building > for riscv, mips, loongarch64, m68k, alpha...) > > Pre-2.37 the patchset stopped applying. To my best knowledge the > azanella/bz23960-dirent branch [4] provides an updated version. I tried to > verify that with Adhemerval, however unfortunately he never replied to my > pings on IRC, so that confirmation is still missing. > > * Is that the current fix? > * Can we please merge it? > > [2] https://sourceware.org/bugzilla/show_bug.cgi?id=23960 > [3] https://gitweb.gentoo.org/fork/glibc.git/log/?h=gentoo/glibc-2.36-1 > [4] https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/azanella/bz23960-dirent > > > Am Donnerstag, 26. Januar 2023, 00:57:31 CET schrieb Andreas K. Huettel: >> Dear all, >> >> now that the 2.37 release and with that another half year of delay is near, >> I'd like to remind everyone that we still need to find some decent solution >> for the remaining problems associated with time64 and LFS as discussed >> earlier [1]. >> >> As far as I can see at the moment there are two things that need a solution. >> >> 1) qemu usermode emulation is broken when emulating a 32bit arch from a 64bit >> arch, bug 23960 >> >> 2) the transition to default time64 breaks legacy 32bit binaries in >> unpredictable ways >> >> I'm going to reply with two separate e-mails for these issues, and would be >> very happy for your opinions and contributions on the respective threads. >> >> Cheers, >> Andreas >> (Gentoo toolchain team) >> >> [1] https://sourceware.org/pipermail/libc-alpha/2022-November/143386.html >> >> > >