From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 279B23858D28 for ; Wed, 25 Jan 2023 23:58:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 279B23858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org From: "Andreas K. Huettel" To: libc-alpha@sourceware.org Subject: time64 / Large File Support: 1) [2.28 Regression]: New getdents{64} implementation breaks qemu-user Date: Thu, 26 Jan 2023 00:58:41 +0100 Message-ID: <6847475.SvYEEZNnvj@pinacolada> Organization: Gentoo Linux In-Reply-To: <10857996.18pcnM708K@pinacolada> References: <10857996.18pcnM708K@pinacolada> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6623537.KRxA6XjA2N"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --nextPart6623537.KRxA6XjA2N Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: "Andreas K. Huettel" To: libc-alpha@sourceware.org Date: Thu, 26 Jan 2023 00:58:41 +0100 Message-ID: <6847475.SvYEEZNnvj@pinacolada> Organization: Gentoo Linux In-Reply-To: <10857996.18pcnM708K@pinacolada> References: <10857996.18pcnM708K@pinacolada> MIME-Version: 1.0 > 1) qemu usermode emulation is broken when emulating a 32bit arch from a 6= 4bit > 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 architectur= e. =46ear 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.=20 (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=20 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=3D23960 [3] https://gitweb.gentoo.org/fork/glibc.git/log/?h=3Dgentoo/glibc-2.36-1 [4] https://sourceware.org/git/?p=3Dglibc.git;a=3Dshortlog;h=3Drefs/heads/a= zanella/bz23960-dirent Am Donnerstag, 26. Januar 2023, 00:57:31 CET schrieb Andreas K. Huettel: > Dear all,=20 >=20 > now that the 2.37 release and with that another half year of delay is nea= r,=20 > I'd like to remind everyone that we still need to find some decent soluti= on > for the remaining problems associated with time64 and LFS as discussed > earlier [1]. >=20 > As far as I can see at the moment there are two things that need a soluti= on. >=20 > 1) qemu usermode emulation is broken when emulating a 32bit arch from a 6= 4bit > arch, bug 23960 > =20 > 2) the transition to default time64 breaks legacy 32bit binaries in > unpredictable ways >=20 > 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. >=20 > Cheers, > Andreas=20 > (Gentoo toolchain team) >=20 > [1] https://sourceware.org/pipermail/libc-alpha/2022-November/143386.html >=20 >=20 =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) --nextPart6623537.KRxA6XjA2N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAABCgB9FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmPRwjFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZE MTlFNkQzMUIxOTJFRTREQzYzRUFEM0RDMkIxNjIxNUVENTQxMkEACgkQ3CsWIV7V QSrHSA//Z7C4RNtASI4ITxaz/PzdXTbwj4L0K6yT7Iglp9W19g1MH7T9jzqq3Hj5 tOGiyNQ4vZUrNWA4tgRjXpKjNodFlR2kYR96s74CSTnSMTkGbJt0cuPwvE0xSSVo 1ieeUpD0Z1Xq2IvbHLYYyEWth+aQMaykzA+TbmMfrrbewLnqxPa5rxL9y/Qm1Aca 1Df5bQmtTnzpqxqSr29NQ5C6JjQuR31CcifEUXy384ZIEbpxt3NXejuWWtBk5Tw2 CkpOwukt5L5BJleA2pu5rl88dMVkFV8Zg2WGzBJtBWa5ZEiyxCXczQL+nNyeheUT db2cDzYrSaRqbjRzC4Nl5F0Tsl+TtA5MY+T2spjrhJuRU3DSS9xxWRKGcNyw7XET gZ7A7cFNe3DRw9QHfi4sOHVH6uz8i290+/Sz1F4/56jToROMMtk3En9Yalc6eOWu fmZCTYt/I3qE3x6VOHhQRZmDRnFHXul6ojqiRdWtg41ZWKZJQoMsLQXi0ZfAMb+S ZEuTDJP1yeMsc3yaNzmDmCkhueqZ0xzeb9zBVsth20eEQtFQsoO/JrYJcB+tcPZk m9eoF0Y7e1WIQPcjxCpskHkVYPDN8CDIg9et7u/TpI5amMm1YoYUTh17B/Dafmue Me7zzVsQju/cbfBFRe+CtsE7ii2drPOtWSnLLjt9WRT1qiXtO+Y= =ALSd -----END PGP SIGNATURE----- --nextPart6623537.KRxA6XjA2N--