From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6HKLJe+cbl9scAAA0tVLHw (envelope-from ) for ; Sat, 26 Sep 2020 01:44:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mHTXIO+cbl9NSQAAB5/wlQ (envelope-from ) for ; Sat, 26 Sep 2020 01:44:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC8B594050D for ; Sat, 26 Sep 2020 01:44:14 +0000 (UTC) Received: from localhost ([::1]:54816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLzG0-00082n-F9 for larch@yhetil.org; Fri, 25 Sep 2020 21:44:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLzFq-00081J-J6 for guix-patches@gnu.org; Fri, 25 Sep 2020 21:44:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLzFq-0006bC-9R for guix-patches@gnu.org; Fri, 25 Sep 2020 21:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLzFq-0007kd-5A for guix-patches@gnu.org; Fri, 25 Sep 2020 21:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43591] [PATCH core-updates] gnu: glibc-final: Catch all cases of a glibc user not requesting 64-bit offsets and then using readdir. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Sep 2020 01:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 43591@debbugs.gnu.org Received: via spool by 43591-submit@debbugs.gnu.org id=B43591.160108462629763 (code B ref 43591); Sat, 26 Sep 2020 01:44:02 +0000 Received: (at 43591) by debbugs.gnu.org; 26 Sep 2020 01:43:46 +0000 Received: from localhost ([127.0.0.1]:45548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLzFa-0007jz-6X for submit@debbugs.gnu.org; Fri, 25 Sep 2020 21:43:46 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:35736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLzFU-0007jj-D5 for 43591@debbugs.gnu.org; Fri, 25 Sep 2020 21:43:44 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 97F6A3368584; Sat, 26 Sep 2020 03:43:38 +0200 (CEST) Date: Sat, 26 Sep 2020 03:42:44 +0200 From: Danny Milosavljevic Message-ID: <20200926034244.1aa3c4f6@scratchpost.org> In-Reply-To: <20200925153646.6ef95908@scratchpost.org> References: <20200924141211.21649-1-dannym@scratchpost.org> <87363759at.fsf@gnu.org> <20200924222711.2f22281a@scratchpost.org> <87tuvm4vop.fsf@gnu.org> <20200925122004.38275411@scratchpost.org> <20200925153646.6ef95908@scratchpost.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/mjfZwQkYo41nr/pG_g/4=fo"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: 053rp2ylJWSf --Sig_/mjfZwQkYo41nr/pG_g/4=fo Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, by now I also tested it on overdrive1, an aarch64 machine. > I do not have access to a real aarch64 machine--so no idea how it is ther= e. > That would be the most interesting case, because those don't have X86_32, > so ILP32 is either not present or implemented differently. I added it in the table below under "a64armhf". ILP32 is not present on aarch64. Test result of [1] updated: system _FILE_OFFSET_BITS off_t d_off-sizeof d_off-values --------------------------------------------------------------- x86_64 - 8 Byte 8 Byte 8 Byte i686 - 4 Byte 4 Byte 4 Byte i686 64 8 Byte 8 Byte 4 Byte i686 32 4 Byte 4 Byte 4 Byte i686 7 4 Byte 4 Byte 4 Byte armhf - 4 Byte 4 Byte 4 Byte armhf 64 8 Byte 8 Byte 4 Byte armhf 32 4 Byte 4 Byte 4 Byte armhf 7 4 Byte 4 Byte 4 Byte a64armhf - 4 Byte 4 Byte FAIL a64armhf 64 8 Byte 8 Byte 8 Byte a64armhf 32 4 Byte 4 Byte FAIL a64armhf 7 4 Byte 4 Byte FAIL For a64armhf, the version with -D_FILE_OFFSET_BITS=3D64 is the only one whe= re readdir succeeds on my specially-prepared directory. --Sig_/mjfZwQkYo41nr/pG_g/4=fo Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9unJQACgkQ5xo1VCww uqXawgf9H6G51A5PzxdtOgSuUilzwEULll2McSYirbJ5kKgXMNZjWESrpEfsCQsX p68j23tSxTaInQi1uEBd+ye9Qrt5oQl0xCN14y3KIygb+m8SgC04yMS7Q2VgbhF9 7CSYqjXRb2zkB4OTMVPtFl8p04EcHZvBuFx0p2bCNXfFupPJ2ELRqnNIAht4fInW JZnD7SYfrh39rBjLFeHIswyeH25LeFysvkGlpPbbL0ZX6Ku1RU/h+B6AXMWIriv4 04/10Qya1dlGVNY1qxShgWrvVTEJuAlZ+L6xg0DjkGbbedjU0cywwxIJybmgoWFY K7nIC7zvm1DvHjEIzLm/0spCmCCf2A== =BlIh -----END PGP SIGNATURE----- --Sig_/mjfZwQkYo41nr/pG_g/4=fo--