From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSULl-0004it-JP for qemu-devel@nongnu.org; Thu, 29 Jan 2009 05:42:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSULj-0004id-P0 for qemu-devel@nongnu.org; Thu, 29 Jan 2009 05:42:20 -0500 Received: from [199.232.76.173] (port=37726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSULj-0004iY-Av for qemu-devel@nongnu.org; Thu, 29 Jan 2009 05:42:19 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:47716) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSULi-0004go-Rh for qemu-devel@nongnu.org; Thu, 29 Jan 2009 05:42:19 -0500 Received: by nf-out-0910.google.com with SMTP id b2so1516384nfb.12 for ; Thu, 29 Jan 2009 02:42:16 -0800 (PST) Subject: Re: [Qemu-devel] [PATCH] qemu/configure: correctly detect -lrt ldflag on uclibc From: Natanael Copa In-Reply-To: <4970DB88.4070902@codemonkey.ws> References: <1232088865.5858.251.camel@nc> <4970DB88.4070902@codemonkey.ws> Content-Type: multipart/mixed; boundary="=-dKBtOoSEsgw2kFqFQHm4" Date: Thu, 29 Jan 2009 11:42:09 +0100 Message-Id: <1233225729.9550.28.camel@nc> Mime-Version: 1.0 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org --=-dKBtOoSEsgw2kFqFQHm4 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2009-01-16 at 13:10 -0600, Anthony Liguori wrote: > Natanael Copa wrote: > > Hi, > > > > I managed to build kvm on/for my uclibc distro, Alpine linux. The qemu > > configure script failed to detect if it needed the -lrt ldflag. the > > attatched patch fixes the test. > > > > Thanks! > > > > -nc > > > > PS. please CC me as i don't subscribe to the list. > > > Please submit this against QEMU SVN, not against a release of KVM. I created a new patch for your convenience agains current trunk. (even if the previous patch appled just fine with -p2) Thanks! -nc --=-dKBtOoSEsgw2kFqFQHm4 Content-Disposition: attachment; filename="qemu-r6469-uclibc.patch" Content-Type: text/x-patch; name="qemu-r6469-uclibc.patch"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: configure =================================================================== --- configure (revision 6469) +++ configure (working copy) @@ -1059,7 +1059,10 @@ cat > $TMPC < #include -int main(void) { clockid_t id; return clock_gettime(id, NULL); } +int main(void) { clockid_t id; timer_t tid; + return clock_gettime(id, NULL) + timer_delete(tid); +} + EOF rt=no --=-dKBtOoSEsgw2kFqFQHm4--