From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1BD553858D28; Sun, 26 Feb 2023 08:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1BD553858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677400155; bh=sHp34AaSXxv+G9etceX6ipvoi7m81xSRt5hbLCjx/Mo=; h=From:To:Subject:Date:From; b=c5u6nFhCGOolhjqa/xi2yBD+tOLM8QNMDUzQ/yrs5mpBtwaNZip13tL+TGl4dDMD2 udfQcQO1kpOLf6f5vakapX2HVzXhUTTaF8czXAbPClPnqUjIgz7CNjHC4ZAknRShG+ OSL/DNQJpz4b2u8fqDyT1u5KcArcEFXvA3i/22V0= From: "ldv at sourceware dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/30173] New: siginfo_t does not provide si_trapno field on alpha Date: Sun, 26 Feb 2023 08:29:14 +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.37 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ldv at sourceware dot 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: security- X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_file_loc bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild flagtypes.name 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=3D30173 Bug ID: 30173 Summary: siginfo_t does not provide si_trapno field on alpha Product: glibc Version: 2.37 URL: https://github.com/strace/strace/issues/220 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: ldv at sourceware dot org CC: drepper.fsp at gmail dot com Target Milestone: --- Host: alpha-unknown-linux-gnu Target: alpha-unknown-linux-gnu Build: alpha-unknown-linux-gnu Flags: security- Starting with commit 4c0a1e6392fc9f667dba272dc13d94dc5c54813e aka glibc-2.20~469, siginfo_t no longer provides si_trapno field on alpha, desp= ite that the linux kernel headers still provide it. This regression was discovered accidentally when strace-5.19 started to use si_trapno and subsequently failed to build on alpha in the debian buildd infrastructure. Also note that linux kernel commit add0b32ef9146a8559a60aed54c37692a5f9d34f= aka v5.13-rc3~17^2~4 moved si_trapno inside the union, that change resulted in a difference in siginfo field placement on sparc and alpha for the fields si_addr_lsb, si_lower, si_upper, and si_pkey. This means that glibc defini= tion of siginfo_t is out of sync with the kernel one not just on alpha but on sp= arc as well. --=20 You are receiving this mail because: You are on the CC list for the bug.=