unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Jim Wilson <jimw@sifive.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] RISC-V: Fix elfutils testsuite unwind failures.
Date: Wed, 13 Feb 2019 17:33:34 +0100	[thread overview]
Message-ID: <mvmftsrr6ld.fsf@suse.de> (raw)
In-Reply-To: <20190113234809.4818-1-jimw@sifive.com> (Jim Wilson's message of "Sun, 13 Jan 2019 15:48:09 -0800")

On Jan 13 2019, Jim Wilson <jimw@sifive.com> wrote:

> Unfortunately, the testcase isn't working as expected and I don't know why.
> The testcase passes even when my clone.S patch is not installed.

I don't see that here, with the current tools from openSUSE Factory.
There many be some (bad?) luck involved, since it's undefined territory.

> 	[BZ #24040] 
> 	* elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
> 	* elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
> 	(func): New.
> 	(main): If USE_PTHREADS, call pthread_create to run func.  Otherwise
> 	call func directly.
> 	* nptl/Makefile (tests): Add tst-unwind-thread.
> 	(CFLAGS-tst-unwind-thread.c): Define.
> 	* nptl/tst-unwind-thread.c: New file.
> 	* sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
> 	as undefined.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

  parent reply	other threads:[~2019-02-13 16:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-13 23:48 [PATCH] RISC-V: Fix elfutils testsuite unwind failures Jim Wilson
2019-01-14 13:38 ` Florian Weimer
2019-01-14 17:29   ` Jim Wilson
2019-01-17 17:05 ` Mark Wielaard
2019-01-21  5:55   ` Jim Wilson
2019-01-22 13:28     ` Mark Wielaard
2019-01-23  6:58       ` Jim Wilson
2019-01-24  2:51 ` Palmer Dabbelt
2019-01-28 21:18   ` Jim Wilson
2019-01-28 22:44     ` DJ Delorie
2019-01-28 23:10       ` Jim Wilson
2019-02-04 22:37 ` DJ Delorie
2019-02-04 23:01   ` Jim Wilson
2019-02-04 23:33     ` DJ Delorie
2019-02-04 23:46       ` Joseph Myers
2019-02-04 23:57         ` DJ Delorie
2019-02-05  0:01           ` Joseph Myers
2019-02-12 20:08 ` ping^2 " Jim Wilson
2019-02-13 12:03 ` Andreas Schwab
2019-02-13 16:33 ` Andreas Schwab [this message]
2019-02-13 22:25   ` Palmer Dabbelt
2019-02-18  9:56     ` Andreas Schwab

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=mvmftsrr6ld.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=jimw@sifive.com \
    --cc=libc-alpha@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).