From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 93B30385842D; Wed, 17 Jan 2024 13:21:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93B30385842D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705497707; bh=qpNFGicLO2/UoPOpPWq2ei65eSTG/yhmCiIpcTNgjF0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VjRAd5Q3AEzCWQO7v3XbgnwPzaPI2cytYAiTcbL2tATPlTKhkl0oT7e8Ix8gc+8yl pfVpWOtwjd0t3xGRGsXsuVvl1v5i8NOFI84AhXaY3pzQ3i2pWiNM3Id8K+IvdgWt/s 1sXFFJGNz/nHxH/+YNfslIM132g4ODJ/T7YCjlLM= From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug ports/25672] nptl/tst-mutex8-static and nptl/tst-mutexpi8-static failing on sparc64 on Linux Date: Wed, 17 Jan 2024 13:21:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: ports X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D25672 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #2 from Adhemerval Zanella --- It is the same issue from BZ#31244, where the rewrite done by b33e946fbb1659d2c5937c4dd756a7c49a132dff was not fully correct regarding CFI annotation. I will send a similar fix as proposed to fix the sparc32 issue: diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S b/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S index 12af289375..3134337e25 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S @@ -23,7 +23,10 @@ [1] https://lkml.org/lkml/2016/5/27/465 */ -ENTRY (__rt_sigreturn_stub) + nop + nop + +ENTRY_NOCFI (__rt_sigreturn_stub) mov __NR_rt_sigreturn, %g1 ta 0x6d -END (__rt_sigreturn_stub) +END_NOCFI (__rt_sigreturn_stub) It fixes the regression I saw on sparc64: FAIL: nptl/tst-cancel24-static FAIL: nptl/tst-cond8-static FAIL: nptl/tst-mutex8-static FAIL: nptl/tst-mutexpi8-static FAIL: nptl/tst-mutexpi9 *** This bug has been marked as a duplicate of bug 31244 *** --=20 You are receiving this mail because: You are on the CC list for the bug.=