[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen 4.2.0-rc3-pre: building failure on alpine linux / uclibc
Roger should have a better idea than me but he is currently on vacation. On Fri, 10 Aug 2012, Mark van Dijk wrote: > After someone suggested alpine linux makes a nice dom0 system I decided > to give it a go. Unfortunately the build process breaks: > > --- > AR i386-dm/libqemu.a > LINK i386-dm/qemu-dm > vl.o: In function `dynticks_stop_timer': > /adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-traditional-dir/vl.c:1603: > undefined reference to `timer_delete' vl.o: In function > `dynticks_start_timer': > /adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-traditional-dir/vl.c:1585: > undefined reference to `timer_create' vl.o: In function > `dynticks_rearm_timer': > /adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-traditional-dir/vl.c:1620: > undefined reference to > `timer_gettime' > /adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-traditional-dir/vl.c:1633: > undefined reference to `timer_settime' collect2: ld returned 1 exit > status make[4]: *** [qemu-dm] Error 1 make[4]: Leaving directory > `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-traditional-dir-remote/i386-dm' > make[3]: *** [subdir-i386-dm] Error 2 make[3]: Leaving directory > `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-traditional-dir-remote' > make[2]: *** [subdir-install-qemu-xen-traditional-dir] Error 2 make[2]: > Leaving directory `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools' > make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory > `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools' make: *** > [install-tools] Error 2 --- > > I found this bug occurred to someone back in february '12 when someone > posted the following message and patch to the ML: > > http://lists.xen.org/archives/html/xen-devel/2012-02/msg01475.html > > But I am either not patching the correct file or this patch is not > working. I was trying a couple of different solutions just to see how I > could get it to work but I'll admit this is like doing rocket science > as a third grader. This is what I tried next to the previously named > patch: > > http://pastebin.com/U39H38T7 > > But the end result: > > --- > LINK qemu-ga > CC libdis/i386-dis.o > LINK qemu-nbd > cutils.o: In function `strtosz_suffix_unit': > /adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-dir/cutils.c:354: > undefined reference to `__isnan' > /adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-dir/cutils.c:357: > undefined reference to `modf' > collect2: ld returned 1 exit status > make[3]: *** [qemu-ga] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[3]: Leaving directory > `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools/qemu-xen-dir-remote' > make[2]: *** [subdir-all-qemu-xen-dir] Error 2 > make[2]: Leaving directory > `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools' > make[1]: *** [subdirs-install] Error 2 > make[1]: Leaving directory > `/adm/anderson/xen-unstable/src/xen-git-4.2.0/tools' > make: *** [install-tools] Error 2 > --- > > Where do I go from here? 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). Moreover it is breaking compiling qemu-nbd that we aren't currently using. I would try out the following change to the configure script: diff --git a/configure b/configure index 027a718..9cc8e19 100755 --- a/configure +++ b/configure @@ -2614,11 +2613,7 @@ cat > $TMPC <<EOF int main(void) { return clock_gettime(CLOCK_REALTIME, NULL); } EOF -if compile_prog "" "" ; then - : -elif compile_prog "" "-lrt" ; then - LIBS="-lrt $LIBS" -fi +LIBS="-lrt -lm $LIBS" if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \ "$aix" != "yes" -a "$haiku" != "yes" ; then _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |