Problem building 3.1.1 HV for ia64
I have run into an issue with the Xen 3.1.1 HV where it fails to build for ia64. I have worked up a patch that fixes the issue, but I wonder if maybe I am doing something wrong. It seems hard to believe that they 3.1.1 won't build ia64.
Anyway here is the issue. Building for common/domctl.c get an undefined reference error on guest_physmap_max_mem_pages. It is declared in arch dependent shadow.h files. Not sure why only the ia64 does not get the definition. But the following changeset removed the include of asm/shadow.h from common/domctl.c:
changeset: 15456:74b05c391535 user: Keir Fraser <[email protected]> date: Wed Oct 03 14:37:38 2007 +0100 summary: [XEN] replace shadow_* with paging_* in common code
Restoring the include fixes the build for ia64. Do others see this issue?
Thanks,
Bill
Quoted 11 lines · Bill Burns
I have run into an issue with the Xen 3.1.1 HV where it fails to build for ia64. I have worked up a patch that fixes the issue, but I wonder if maybe I am doing something wrong. It seems hard to believe that they 3.1.1 won't build ia64.
Anyway here is the issue. Building for
common/domctl.cget an undefined reference error onguest_physmap_max_mem_pages. It is declared in arch dependentshadow.hfiles. Not sure why only the ia64 does not get the definition. But the following changeset removed the include ofasm/shadow.hfromcommon/domctl.c:
Quoted 6 lines
changeset: 15456:74b05c391535 user: Keir Fraser <[email protected]> date: Wed Oct 03 14:37:38 2007 +0100 summary: [XEN] replace shadow_* with paging_* in common codeRestoring the include fixes the build for ia64. Do others see this issue?
Unfortunately yes :( We must have missed testing the last rc.
Alex
Signature · 1 line
Alex Williamson HP Open Source & Linux Org.
Keir,
I know 3.1.1 is done, but it would be great if you could add this
trivial patch to the tree. If not, at least it's posted here for the search engines to find. Thanks,
Alex
Quoted 11 lines · Bill Burns
I have run into an issue with the Xen 3.1.1 HV where it fails to build for ia64. I have worked up a patch that fixes the issue, but I wonder if maybe I am doing something wrong. It seems hard to believe that they 3.1.1 won't build ia64.
Anyway here is the issue. Building for
common/domctl.cget an undefined reference error onguest_physmap_max_mem_pages. It is declared in arch dependentshadow.hfiles. Not sure why only the ia64 does not get the definition. But the following changeset removed the include ofasm/shadow.hfromcommon/domctl.c:
Quoted 5 lines
changeset: 15456:74b05c391535 user: Keir Fraser <[email protected]> date: Wed Oct 03 14:37:38 2007 +0100 summary: [XEN] replace shadow_* with paging_* in common code
# HG changeset patch
# User Tim Deegan <[email protected]> # Date 1184937040 -3600
# Node ID 66db6b98f0720c08524754fc2364b126ef5cd2ab # Parent 44e12d5b5178d007ae64abef9599d29edb05e5a3 Fix IA64 build
xen-unstable changeset: 66db6b98f072:66db6b98f0720c08524754fc2364b126ef5cd2ab xen-unstable date: Fri Jul 20 14:10:40 2007 +0100
xen/common/domctl.c +1 -0
@@ -20,6 +20,7 @@#include <xen/rcupdate.h> #include <xen/guest_access.h> #include <xen/bitmap.h> +#include <xen/paging.h> #include <asm/current.h> #include <public/domctl.h> #include <acm/acm_hooks.h>
I'll add this and the x64 Solaris fix. I'll then leave it a short while, to see if any other issues crop up, but we should probably roll 3.1.2 next week to officially fix these annoying issues.
-- Keir
Quoted 54 lines · Alex Williamson
Keir,
I know 3.1.1 is done, but it would be great if you could add this
trivial patch to the tree. If not, at least it's posted here for the search engines to find. Thanks,Alex
Quoted 11 lines · Bill Burns
I have run into an issue with the Xen 3.1.1 HV where it fails to build for ia64. I have worked up a patch that fixes the issue, but I wonder if maybe I am doing something wrong. It seems hard to believe that they 3.1.1 won't build ia64.
Anyway here is the issue. Building for
common/domctl.cget an undefined reference error onguest_physmap_max_mem_pages. It is declared in arch dependentshadow.hfiles. Not sure why only the ia64 does not get the definition. But the following changeset removed the include ofasm/shadow.hfromcommon/domctl.c:Quoted 5 lines
changeset: 15456:74b05c391535 user: Keir Fraser <[email protected]> date: Wed Oct 03 14:37:38 2007 +0100 summary: [XEN] replace shadow_* with paging_* in common code# HG changeset patch
# User Tim Deegan <[email protected]> # Date 1184937040 -3600
# Node ID66db6b98f0720c08524754fc2364b126ef5cd2ab# Parent44e12d5b5178d007ae64abef9599d29edb05e5a3Fix IA64 buildSigned-off-by Alex Williamson <[email protected]>xen-unstable changeset: 66db6b98f072:66db6b98f0720c08524754fc2364b126ef5cd2ab xen-unstable date: Fri Jul 20 14:10:40 2007 +0100
diff -r
44e12d5b5178-r66db6b98f072xen/common/domctl.cxen/common/domctl.c Fri Jul 20 14:10:40 2007 +0100 renamed from xen/common/domctl.c Fri Jul 20 12:00:25 2007 +0100 +1
-0@@ -20,6 +20,7 @@ #include <xen/rcupdate.h> #include <xen/guest_access.h> #include <xen/bitmap.h> +#include <xen/paging.h> #include <asm/current.h> #include <public/domctl.h> #include <acm/acm_hooks.h>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel