From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EE835385829D; Fri, 7 Oct 2022 00:24:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE835385829D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665102262; bh=oigsibi3tG072EJTe/q1O26uiZaf6mq7npAjArN2jwg=; h=From:To:Subject:Date:From; b=el01dg81KzbHeat5CIQl/rou6LmHtjGboe3+FPeNoT+h5E0xaHF30FiHbo0KYC4MJ q/OBWRkpDOvVeP436lLuQ7W5p9lWN9dE1XsX0UmmOaX8yD1Whqa5xN7tk4WNuf601W Z1w85YZmHSPIC2GUcNhSwh81J7jenNKbrvwWbRno= From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29657] New: Incorrect struct stat for 64-bit time on linux/generic platforms Date: Fri, 07 Oct 2022 00:24:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost Message-ID: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29657 Bug ID: 29657 Summary: Incorrect struct stat for 64-bit time on linux/generic platforms Product: glibc Version: 2.36 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: jsm28 at gcc dot gnu.org CC: drepper.fsp at gmail dot com Target Milestone: --- Host: csky*-linux* nios2*-linux* sysdeps/unix/sysv/linux/generic/bits/struct_stat.h is missing the condition= als to use bits/struct_stat_time64_helper.h in the __USE_TIME_BITS64 case. This means that platforms using linux/generic but with __TIMESIZE =3D=3D 32 (i.e= . csky and nios2, I think) get the wrong version of struct stat for 64-bit time, s= ince the actual function implementations use struct __stat64_t64 which does use bits/struct_stat_time64_helper.h, so the type declared in the installed hea= ders is inconsistent with the implementation. --=20 You are receiving this mail because: You are on the CC list for the bug.=