Ahh, ok - when I built it last time, glibc hadn't been upgraded to 2.17, which is why I didn't see this issue at first when I build that PKGBUILD; glibc 2.17 makes some key changes to things such as not implicitly loading the rt lib (hence why you have to load it explicitly.) It built fine once I also included the patch mentioned by nbhs below (also at http://lists.xen.org/archives/html/xen-devel/2012-12/msg00429.html )
I uploaded the gdbsx-glibc-2.17.patch and PKGBUILD files I used to http://www.kantras.info/xen/
Search Criteria
Package Details: xen-stubdom 4.20.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Xen hypervisor stubdom files |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 184 |
Popularity: | 0.071098 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2025-03-13 08:19 (UTC) |
Dependencies (42)
- xenAUR
- acpica (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (make)
- fig2dev (fig2dev-gitAUR) (make)
- flex (flex-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gnutls (gnutls-gitAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR) (make)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR, lib32-util-linux, util-linux-libs) (make)
- libx11 (libx11-gitAUR) (make)
- lzo (make)
- ncurses (ncurses-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pandoc (pandoc-sile-gitAUR, pandoc-static-gitAUR, pandoc-binAUR, pandoc-cli) (make)
- pciutils (pciutils-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-setuptools (make)
- sdl2AUR (sdl2-gitAUR, sdl2-compat-gitAUR, sdl2-compat) (make)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-gitAUR, systemd-selinuxAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR) (make)
- valgrind (valgrind-gitAUR) (make)
- vde2 (vdeplug4-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- yajl (yajl-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- linux-headers (optional) – extract bootable kernel for PV grub using "extract_vmlinux"
- seabios (optional) – SeaBIOS payload support
- xen-docsAUR (optional) – HTML documentation and man pages
- xen-edk2AUR (optional) – UEFI support
- xen-grub-pv32AUR (optional) – 32bit PV booting support
- xen-grub-pv64AUR (optional) – 64bit PV booting support
- xen-grub-pvhAUR (optional) – PVH booting support
- xen-qemuAUR (xen-qemuAUR) (optional) – HVM and PV support, nearly required for Xen
- xen-stubdomAUR (optional) – Xen stubdom support
Required by (3)
- xen (optional)
- xen-docs (optional)
- xen-stubdom (optional)
Sources (13)
- efi-xen.cfg
- git+https://xenbits.xen.org/git-http/xen.git#branch=stable-4.20
- http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
- http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/pciutils-2.2.9.tar.bz2
- http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz
- http://xenbits.xen.org/xen-extfiles/zlib-1.2.3.tar.gz
- tmpfiles.conf
- xen-amd-ucode.hook
- xen-intel-ucode.hook
- xen-ucode-extract.sh
- xen.conf
Latest Comments
« First ‹ Previous 1 .. 74 75 76 77 78 79 80 81 82 83 84 .. 101 Next › Last »
kantras commented on 2013-01-11 05:54 (UTC)
kantras commented on 2013-01-11 04:51 (UTC)
Hmm, its been building fine for me, even before the last added patch. Are you using 32 bit or 64 bit? What type of CPU? Any custom flags set? How much memory? I might be able to help if I can reproduce the issue on one of my test machines.
<deleted-account> commented on 2013-01-11 03:52 (UTC)
Xen 4.1 compiled fine, 4.2 does not work. It would be better returned to the repository version 4.1 :-(
fernando_ccs17 commented on 2013-01-10 17:41 (UTC)
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -D__XEN_TOOLS__ -MMD -MF .xg_main.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wmissing-prototypes -I/home/fernando/Desktop/xen/src/xen-4.2.1/tools/debugger/gdbsx/xg/../../../../tools/include -c -o xg_main.o xg_main.c
xg_main.c: In function ‘_domctl_hcall’:
xg_main.c:181:52: error: ‘ulong’ undeclared (first use in this function)
xg_main.c:181:52: note: each undeclared identifier is reported only once for each function it appears in
xg_main.c: In function ‘_check_hyp’:
xg_main.c:221:52: error: ‘ulong’ undeclared (first use in this function)
make[4]: ** [xg_main.o] Erro 1
make[4]: Saindo do diretório `/home/fernando/Desktop/xen/src/xen-4.2.1/tools/debugger/gdbsx/xg'
make[3]: ** [all] Erro 2
make[3]: Saindo do diretório `/home/fernando/Desktop/xen/src/xen-4.2.1/tools/debugger/gdbsx'
make[2]: ** [subdir-install-debugger/gdbsx] Erro 2
make[2]: Saindo do diretório `/home/fernando/Desktop/xen/src/xen-4.2.1/tools'
make[1]: ** [subdirs-install] Erro 2
make[1]: Saindo do diretório `/home/fernando/Desktop/xen/src/xen-4.2.1/tools'
make: ** [install-tools] Erro 2
<deleted-account> commented on 2013-01-10 02:01 (UTC)
--- a/tools/debugger/gdbsx/xg/xg_main.c
+++ b/tools/debugger/gdbsx/xg/xg_main.c
@@ -34,6 +34,7 @@
* XGTRC(): generic trace utility
*/
+#include <sys/types.h>
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
luolimao commented on 2013-01-10 00:23 (UTC)
There's a new error [1] now, but I added the patch at least.
[1] https://gist.github.com/4498279
<deleted-account> commented on 2013-01-09 18:06 (UTC)
this patch works for me https://github.com/slacks42/alpine-apk/blob/master/xen-git/timer-add-lrt-lm.patch
itsizzy commented on 2013-01-08 13:30 (UTC)
I've tried every combination I could think of, CFLAGS, LIBS, PREPEND_* with librt and lrt, with and without the dash before the word. And it seems I can't get it running. Please someone with more experience with gcc/ld fix this..
luolimao commented on 2013-01-08 10:37 (UTC)
Hmm, yeah. I tried using export, and xen's configure told me to use PREPEND_LIB, PREPEND_INCLUDES, etc. but none of those worked with += -librt or += -lrt. I don't really understand gcc's build process at all (even post-googling), so unless someone else has a solution...
Pinned Comments
Refutationalist commented on 2025-03-12 12:06 (UTC) (edited on 2025-03-13 08:23 (UTC) by Refutationalist)
We've moved to the newly-stable 4.20.0 branch. There are also other changes:
If you're still using pygrub note that it is deprecated. The solution is to build PV grub instead, which used to be in AUR but is now missing. I am asking a couple questions on the mailing list, and I intend to put my current build of xen-grub (which supersedes xen-pvhgrub) on AUR as soon as possible. If you need to build it before that occurs, you can find it in my PKGBUILD repo.
EDIT: 4.20.0-2 adds support for the xen-edk2 package, which has a fixed UEFI for xen