public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug ports/25671] tst-cond8-static failing on sparc64 on Linux
Date: Wed, 17 Jan 2024 13:20:50 +0000	[thread overview]
Message-ID: <bug-25671-131-cnUN9lOSq0@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-25671-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=25671

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
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 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  reply	other threads:[~2024-01-17 13:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-13 21:32 [Bug ports/25671] New: " glaubitz at physik dot fu-berlin.de
2024-01-17 13:20 ` adhemerval.zanella at linaro dot org [this message]
2024-01-18  4:59 ` [Bug ports/25671] " sam at gentoo dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-25671-131-cnUN9lOSq0@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).