From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F28F23A47815; Thu, 17 Sep 2020 21:42:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F28F23A47815 From: "tg at mirbsd dot de" To: glibc-bugs@sourceware.org Subject: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user Date: Thu, 17 Sep 2020 21:42:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tg at mirbsd dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 21:42:42 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23960 Thorsten Glaser changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tg at mirbsd dot de --- Comment #57 from Thorsten Glaser --- Jessica, >Easiest thing would be to patch gcc/config/whatever.h to include: > > builtin_define ("_LARGEFILE_SOURCE=3D1"); \ > builtin_define ("_LARGEFILE64_SOURCE=3D1"); \ > builtin_define ("_FILE_OFFSET_BITS=3D64"); \ this will not work, unfortunately: glibc=E2=80=99s refuses to work = with LFS. But why are *new* ports supporting n=C5=8Dn-LFS at all anyway? Just define = off_t as long long int on *all* new architectures, similar how it=E2=80=99s done wit= h 64-bit time_t for new ILP32 arches=E2=80=A6 and similar to how the BSDs all operat= e as well (off_t is a quad there, period; this with my MirBSD developer hat). Sorry for being late to this discussion, just found this from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D916276 via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D970460 and having seen = this impact Debian. (Current hat: Debian Developer) --=20 You are receiving this mail because: You are on the CC list for the bug.=