From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark van Dijk Subject: xen 4.2.0-rc3-pre: building failure on alpine linux / uclibc Date: Fri, 10 Aug 2012 11:54:05 +0200 Message-ID: <20120810115405.05af653e@internecto.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? -- Stay in touch, Mark van Dijk. ,-------------------------------- ----------------------------' Fri Aug 10 09:29 UTC 2012 Today is Boomtime, the 3rd day of Bureaucracy in the YOLD 3178