qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] explicitly link libqemuutil against rt


From: Peter Maydell
Subject: Re: [PATCH] explicitly link libqemuutil against rt
Date: Mon, 28 Feb 2022 15:12:50 +0000

On Mon, 28 Feb 2022 at 14:38, Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Mon, Feb 28, 2022 at 02:15:11PM +0000, Peter Maydell wrote:
> > On Mon, 28 Feb 2022 at 14:12, Simeon Schaub <schaub@mit.edu> wrote:
> > >
> > > >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.
> >
> > Which version of glibc are you seeing this with ?
>
> The man page says
>
>    "Link with -lrt (only for glibc versions before 2.17)."
>
> and even ancient RHEL-7 had glibc 2.17, so I can't imagine any platform
> we currently target in QEMU has a glibc older than 2.17, so QEMU should
> not need this change, unless there's some other scenario not described
> in the commit message.

Is the answer "actually we're using musl, not glibc" ? I vaguely
remember that possibly being different in this area...

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]