qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] explicitly link libqemuutil against rt


From: Simeon Schaub
Subject: Re: [PATCH] explicitly link libqemuutil against rt
Date: Mon, 28 Feb 2022 10:13:15 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

We generally target glibc 2.12 in the Julia ecosystem, since CentOS 6 is
still quite common in the HPC community.

Best,
Simeon

On 2/28/22 09:38, Daniel P. Berrangé 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.
> 
> Regards,
> Daniel



reply via email to

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