From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: Re: xen 4.2.0-rc3-pre: building failure on alpine linux / uclibc Date: Tue, 14 Aug 2012 11:36:19 +0100 Message-ID: <502A2A23.4050205@citrix.com> References: <20120810115405.05af653e@internecto.net> <20120810140611.4ca8a1fb@internecto.net> <20120810163722.2feaadad@internecto.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120810163722.2feaadad@internecto.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Internecto List Subscriber Cc: "xen-devel@lists.xen.org" , Mark van Dijk , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Internecto List Subscriber wrote: > On Fri, 10 Aug 2012 13:16:12 +0100 > Stefano Stabellini wrote: > >> On Fri, 10 Aug 2012, Mark van Dijk wrote: >>>> This is upstream QEMU that is breaking, not qemu-xen-traditional >>>> (see the code path: qemu-xen-dir-remote instead of >>>> qemu-xen-traditional-dir-remote). >>> Ah, I didn't know, it's a little bit confusing. Would you like me to >>> submit a bug report with them? >>> >>>> Moreover it is breaking compiling qemu-nbd that we aren't >>>> currently using. I would try out the following change to the >>>> configure script: (..snip..) >>> Yes, that works, thanks! But it gives a new error which I couldn't >>> solve yet: >>> >>> --- >>> LINK qemu-nbd >>> >>> cutils.o: In function `strtosz_suffix_unit': >>> >>> tools/qemu-xen-dir/cutils.c:354: undefined reference to >>> `__isnan' >>> >>> tools/qemu-xen-dir/cutils.c:357: undefined reference to `modf' >>> collect2: ld returned 1 exit status >>> --- >>> >>> Any idea there? >> It is another "-lm" missing somewhere. > > Ok, well I'll leave that to the people who can actually make a healthy > patch out of this. > >> >>> Also -- If we're not using qemu-nbd then could you suggest a >>> workaround please? I'd prefer something that can be patched or >>> issued before I run the make process. (I run the make process >>> twice now - if the first run fails, patch, then run again and if it >>> fails again error out) >> You can disable qemu-nbd altogether with the following patch: >> (..snip..) > > While I couldn't find the proper configure script for this (I even > grepped for stuff like 'virtfs=no' but got nothing), it was a good > starting point. So thanks for pointing me in the right direction :) > > For now building unstable on Alpine Linux works with the following > patch: > > http://pastebin.com/QU8XuM0a Natanael Copa sent a patch to Qemu-devel some months ago to fix the build of Qemu on uClibc, but it seems like it was ignored: http://lists.gnu.org/archive/html/qemu-devel/2012-06/msg02388.html Could you try if that still applies and fixes your problems? Roger.