From: Bernd Kuhls <bernd@kuhls.net>
To: igt-dev@lists.freedesktop.org
Cc: Stefano Ragni <st3r4g@protonmail.com>
Subject: [igt-dev] [PATCH 7/7] benchmarks/gem_syslatency.c: Fix musl build
Date: Sun, 22 Oct 2023 17:52:26 +0200 [thread overview]
Message-ID: <20231022155226.3484622-8-bernd@kuhls.net> (raw)
In-Reply-To: <20231022155226.3484622-1-bernd@kuhls.net>
From: Stefano Ragni <st3r4g@protonmail.com>
Original patch was added to void-linux:
https://github.com/void-linux/void-packages/commit/ddfc1f66a0c571b420303c33aed29fd38ace4fc7
Bug report with request to split the original patch into some
functional changes:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
Fixes build error:
../benchmarks/gem_syslatency.c:166:13: error: ‘union <anonymous>’ has no member named ‘sigev_notify_thread_id’
166 | sev.sigev_notify_thread_id = gettid();
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
benchmarks/gem_syslatency.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/benchmarks/gem_syslatency.c b/benchmarks/gem_syslatency.c
index 312c428b7..e0740fc11 100644
--- a/benchmarks/gem_syslatency.c
+++ b/benchmarks/gem_syslatency.c
@@ -46,6 +46,8 @@
#include <linux/unistd.h>
#endif
+#define sigev_notify_thread_id sigev_notify_function
+
#include "i915/gem_create.h"
#include "i915/gem_ring.h"
#include "igt_aux.h"
--
2.39.2
prev parent reply other threads:[~2023-10-22 16:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-22 15:52 [igt-dev] [PATCH 0/7] igt: Fix musl build Bernd Kuhls
2023-10-22 15:52 ` [igt-dev] [PATCH 1/7] build: check that outb is present in io.h Bernd Kuhls
2023-10-22 15:52 ` [igt-dev] [PATCH 2/7] Include limits.h to fix build with musl libc Bernd Kuhls
2023-10-24 15:59 ` Kamil Konieczny
2023-10-22 15:52 ` [igt-dev] [PATCH 3/7] lib/igt_aux.h: Fix musl build Bernd Kuhls
2023-10-24 16:16 ` Kamil Konieczny
2023-10-22 15:52 ` [igt-dev] [PATCH 4/7] lib/igt_x86.c: Fix musl/uclibc build Bernd Kuhls
2023-10-22 15:52 ` [igt-dev] [PATCH 5/7] lib/igt_halffloat.c: " Bernd Kuhls
2023-10-22 15:52 ` [igt-dev] [PATCH 6/7] benchmarks/gem_exec_tracer.c: Fix musl build Bernd Kuhls
2023-10-24 16:09 ` Kamil Konieczny
2023-10-22 15:52 ` Bernd Kuhls [this message]
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=20231022155226.3484622-8-bernd@kuhls.net \
--to=bernd@kuhls.net \
--cc=igt-dev@lists.freedesktop.org \
--cc=st3r4g@protonmail.com \
/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