Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nOhi7-0000nK-Fh for mharc-qemu-trivial@gnu.org; Mon, 28 Feb 2022 10:13:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOhi6-0000lc-K3; Mon, 28 Feb 2022 10:13:14 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:37860 helo=outgoing.mit.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOhi5-0001OQ-2I; Mon, 28 Feb 2022 10:13:14 -0500 Received: from [10.31.51.144] (dhcp-10-31-51-144.dyn.mit.edu [10.31.51.144]) (authenticated bits=0) (User authenticated as schaub@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 21SFD8Cq030737 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 28 Feb 2022 10:13:09 -0500 Message-ID: <949b0675-cbae-51dc-5a3b-d0215738279b@mit.edu> Date: Mon, 28 Feb 2022 10:13:15 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] explicitly link libqemuutil against rt Content-Language: en-US To: =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= , Peter Maydell Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org References: From: Simeon Schaub In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=18.9.28.11; envelope-from=schaub@mit.edu; helo=outgoing.mit.edu X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2022 15:13:15 -0000 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 wrote: >>> >>> >From e77de12cc33846a3de71d1858e497fbf4cdbff96 Mon Sep 17 00:00:00 2001 >>> From: Simeon David Schaub >>> 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