On Mon, 28 Feb 2022 at 14:38, Daniel P. Berrangé <[email protected]> wrote: > > On Mon, Feb 28, 2022 at 02:15:11PM +0000, Peter Maydell wrote: > > On Mon, 28 Feb 2022 at 14:12, Simeon Schaub <[email protected]> wrote: > > > > > > >From e77de12cc33846a3de71d1858e497fbf4cdbff96 Mon Sep 17 00:00:00 2001 > > > From: Simeon David Schaub <[email protected]> > > > 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
