From: Simeon Schaub <schaub@mit.edu>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: [PATCH] explicitly link libqemuutil against rt
Date: Sun, 27 Feb 2022 23:16:33 -0500 [thread overview]
Message-ID: <eddf5c19-5582-7d88-5232-2052f87583ae@mit.edu> (raw)
From e77de12cc33846a3de71d1858e497fbf4cdbff96 Mon Sep 17 00:00:00 2001
From: Simeon David Schaub <schaub@mit.edu>
Date: Sun, 27 Feb 2022 22:59:19 -0500
Subject: [PATCH] explicitly link libqemuutil against rt
Qemu uses `clock_gettime` which is already part of more recent versions
of glibc, but on older versions it is still required to link against
librt.
Discovered in https://github.com/JuliaPackaging/Yggdrasil/pull/4506
Signed-off-by: Simeon David Schaub <schaub@mit.edu>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 8df40bfac4..dcf2f43940 100644
--- a/meson.build
+++ b/meson.build
@@ -2730,7 +2730,7 @@ util_ss.add_all(trace_ss)
util_ss = util_ss.apply(config_all, strict: false)
libqemuutil = static_library('qemuutil',
sources: util_ss.sources() + stub_ss.sources() + genh,
- dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc, pixman])
+ dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc, pixman, rt])
qemuutil = declare_dependency(link_with: libqemuutil,
sources: genh + version_res)
--
2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: Simeon Schaub <schaub@mit.edu>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: [PATCH] explicitly link libqemuutil against rt
Date: Sun, 27 Feb 2022 23:16:33 -0500 [thread overview]
Message-ID: <eddf5c19-5582-7d88-5232-2052f87583ae@mit.edu> (raw)
>From e77de12cc33846a3de71d1858e497fbf4cdbff96 Mon Sep 17 00:00:00 2001
From: Simeon David Schaub <schaub@mit.edu>
Date: Sun, 27 Feb 2022 22:59:19 -0500
Subject: [PATCH] explicitly link libqemuutil against rt
Qemu uses `clock_gettime` which is already part of more recent versions
of glibc, but on older versions it is still required to link against
librt.
Discovered in https://github.com/JuliaPackaging/Yggdrasil/pull/4506
Signed-off-by: Simeon David Schaub <schaub@mit.edu>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 8df40bfac4..dcf2f43940 100644
--- a/meson.build
+++ b/meson.build
@@ -2730,7 +2730,7 @@ util_ss.add_all(trace_ss)
util_ss = util_ss.apply(config_all, strict: false)
libqemuutil = static_library('qemuutil',
sources: util_ss.sources() + stub_ss.sources() + genh,
- dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc, pixman])
+ dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc, pixman, rt])
qemuutil = declare_dependency(link_with: libqemuutil,
sources: genh + version_res)
--
2.35.1
next reply other threads:[~2022-02-28 14:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 4:16 Simeon Schaub [this message]
2022-02-28 4:16 ` [PATCH] explicitly link libqemuutil against rt Simeon Schaub
2022-02-28 14:15 ` Peter Maydell
2022-02-28 14:15 ` Peter Maydell
2022-02-28 14:38 ` Daniel P. Berrangé
2022-02-28 14:38 ` Daniel P. Berrangé
2022-02-28 15:12 ` Peter Maydell
2022-02-28 15:12 ` Peter Maydell
2022-02-28 15:13 ` Simeon Schaub
2022-02-28 15:17 ` Peter Maydell
2022-02-28 15:17 ` Peter Maydell
2022-02-28 15:29 ` Simeon Schaub
2022-02-28 15:29 ` Simeon Schaub
2022-02-28 16:08 ` Daniel P. Berrangé
2022-02-28 16:08 ` Daniel P. Berrangé
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=eddf5c19-5582-7d88-5232-2052f87583ae@mit.edu \
--to=schaub@mit.edu \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.