From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3CBCE3858C41; Sat, 25 May 2024 11:03:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3CBCE3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1716635034; bh=xuM/YqVpJVHGPG4sFBW43BwDxmGwzEl4UOO3hO0Cn70=; h=From:To:Subject:Date:From; b=t03XNZaH7AEWBIVaCOXkdLzmchCf77MAyu8egcP/0WIqjSpG4jigvamPZKk8yOBXR r1fW87kWhRQN8XID6e+lo8i/lGDTTEHjGRGObdfIEGbrQPuaVHRyP4E8l5BU5O3IGm 3F6quHOX02lpElWf1a2uw9iT/3Akigj35hQW54xo= From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/31798] New: pidfd_getpid.c is miscompiled by GCC 6.4 Date: Sat, 25 May 2024 11:03:53 +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.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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_gcctarget 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=3D31798 Bug ID: 31798 Summary: pidfd_getpid.c is miscompiled by GCC 6.4 Product: glibc Version: 2.40 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Target: i686 On i686, pidfd_getpid.c in glibc 2.40 master branch is miscompiled by GCC 6= .4: FAIL: misc/tst-pidfd FAIL: misc/tst-pidfd_getpid ../sysdeps/unix/sysv/linux/tst-pidfd.c:128: numeric comparison failure left: 3063298 (0x2ebe02); from: pidfork right: -1 (0xffffffff); from: pid ../sysdeps/unix/sysv/linux/tst-pidfd.c:141: numeric comparison failure left: 9 (0x9); from: errno right: 3 (0x3); from: ESRCH ../sysdeps/unix/sysv/linux/tst-pidfd.c:165: numeric comparison failure left: -1 (0xffffffff); from: querypid right: 3063299 (0x2ebe03); from: pid error: 3 test failures GCC 7.4 is OK. --=20 You are receiving this mail because: You are on the CC list for the bug.=