* [COMMITTED] tests: Remove tgkill define from backtrace.c
@ 2019-03-04 19:13 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2019-03-04 19:13 UTC (permalink / raw)
To: elfutils-devel; +Cc: Mark Wielaard
tgkill is never used in the test and it might conflict with newer
glibc which might define tgkill themselves (just like gettid):
https://sourceware.org/bugzilla/show_bug.cgi?id=6399
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
tests/ChangeLog | 4 ++++
tests/backtrace.c | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/ChangeLog b/tests/ChangeLog
index b76c44d..71aa178 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2019-03-04 Mark Wielaard <mark@klomp.org>
+
+ * backtrace.c (tgkill): Remove define.
+
2019-01-24 Mark Wielaard <mark@klomp.org>
* Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
diff --git a/tests/backtrace.c b/tests/backtrace.c
index 05e8ef8..ecf5583 100644
--- a/tests/backtrace.c
+++ b/tests/backtrace.c
@@ -296,7 +296,6 @@ prepare_thread (pid_t pid2 __attribute__ ((unused)),
#include <asm/unistd.h>
#include <unistd.h>
-#define tgkill(pid, tid, sig) syscall (__NR_tgkill, (pid), (tid), (sig))
static void
report_pid (Dwfl *dwfl, pid_t pid)
--
1.8.3.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-03-04 19:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-04 19:13 [COMMITTED] tests: Remove tgkill define from backtrace.c Mark Wielaard
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).