All of lore.kernel.org
 help / color / mirror / Atom feed
* build break
@ 2010-09-17  2:00 Kay, Allen M
  2010-09-17 12:41 ` Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Kay, Allen M @ 2010-09-17  2:00 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1182 bytes --]

I'm getting following build error in the latest staging tree:

build/temp.linux-x86_64-2.6/xen/lowlevel/xl/_pyxl_types.o: In function `py_domain_build_info_cpuid_set':
/home/akay/xen-unstable.hg/tools/python/xen/lowlevel/xl/_pyxl_types.c:1091: undefined reference to `attrib__libxl_cpuid_policy_list_set'
build/temp.linux-x86_64-2.6/xen/lowlevel/xl/_pyxl_types.o: In function `py_domain_build_info_cpuid_get':
/home/akay/xen-unstable.hg/tools/python/xen/lowlevel/xl/_pyxl_types.c:1086: undefined reference to `attrib__libxl_cpuid_policy_list_get'
/usr/bin/ld: build/lib.linux-x86_64-2.6/xen/lowlevel/xl.so: hidden symbol `attrib__libxl_cpuid_policy_list_get' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
make[3]: *** [buildpy] Error 1
make[3]: Leaving directory `/home/akay/xen-unstable.hg/tools/python'
make[2]: *** [subdir-install-python] Error 2
make[2]: Leaving directory `/home/akay/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/akay/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

[-- Attachment #1.2: Type: text/html, Size: 6035 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build break
  2010-09-17  2:00 build break Kay, Allen M
@ 2010-09-17 12:41 ` Ian Campbell
  2010-09-17 15:13   ` Ian Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Campbell @ 2010-09-17 12:41 UTC (permalink / raw)
  To: Kay, Allen M; +Cc: xen-devel

On Fri, 2010-09-17 at 03:00 +0100, Kay, Allen M wrote:
> I’m getting following build error in the latest staging tree:
> 
>  
> 
> build/temp.linux-x86_64-2.6/xen/lowlevel/xl/_pyxl_types.o: In function
> `py_domain_build_info_cpuid_set':
> 
> /home/akay/xen-unstable.hg/tools/python/xen/lowlevel/xl/_pyxl_types.c:1091: undefined reference to `attrib__libxl_cpuid_policy_list_set'

Looks like 22167:330c4d9010da and 22170:4e47a7db9711 are individually OK
but the combination is broken. This fixes it:

# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1284727197 -3600
# Node ID f6e50c9ca3838d5d470202a2f7adc15234166c03
# Parent  ec3548be868a0f8987b6c997a71ba53a1da3c2c7
python: xl: stub out libxl_cpuid_policy_list accessors

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

diff -r ec3548be868a -r f6e50c9ca383 tools/python/xen/lowlevel/xl/xl.c
--- a/tools/python/xen/lowlevel/xl/xl.c	Fri Sep 17 13:10:24 2010 +0100
+++ b/tools/python/xen/lowlevel/xl/xl.c	Fri Sep 17 13:39:57 2010 +0100
@@ -203,6 +203,11 @@ static PyObject *fixed_bytearray_get(con
 
 #include "_pyxl_types.h"
 
+int attrib__libxl_cpuid_policy_list_set(PyObject *v, libxl_cpuid_policy_list *pptr)
+{
+    return -1;
+}
+
 int attrib__libxl_cpumap_set(PyObject *v, libxl_cpumap *pptr)
 {
     return -1;
@@ -246,6 +251,11 @@ int attrib__struct_in_addr_set(PyObject 
 int attrib__struct_in_addr_set(PyObject *v, struct in_addr *pptr)
 {
     return -1;
+}
+
+PyObject *attrib__libxl_cpuid_policy_list_get(libxl_cpuid_policy_list *pptr)
+{
+    return NULL;
 }
 
 PyObject *attrib__libxl_cpumap_get(libxl_cpumap *pptr)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build break
  2010-09-17 12:41 ` Ian Campbell
@ 2010-09-17 15:13   ` Ian Jackson
  0 siblings, 0 replies; 5+ messages in thread
From: Ian Jackson @ 2010-09-17 15:13 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel, Kay, Allen M

Ian Campbell writes ("Re: [Xen-devel] build break"):
> Looks like 22167:330c4d9010da and 22170:4e47a7db9711 are individually OK
> but the combination is broken. This fixes it:

Sorry about that.  I thought I had build-tested it, but perhaps the
failure was somehow masked by the existing xen-unstable build failure
due to

    changeset:   22161:ff011e0cb17c
    user:        Keir Fraser <keir.fraser@citrix.com>
    date:        Wed Sep 15 14:03:26 2010 +0100
    files:       xen/arch/x86/hvm/emulate.c xen/arch/x86/hvm/io.c xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/vmx/vmx.c xen/include/asm-x86/hvm/emulate.h xen/include/asm-x86/hvm/io.h xen/include/asm-x86/hvm/vcpu.h
    description:
    x86 hvm: Clean up PIO fast path emulation

Thanks, Ian C, for your patch; I have build-tested and applied it.

Ian.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Build break
  2006-11-09  1:11 Build break Anirban Chakraborty
@ 2006-11-09  8:35 ` Keir Fraser
  0 siblings, 0 replies; 5+ messages in thread
From: Keir Fraser @ 2006-11-09  8:35 UTC (permalink / raw)
  To: Anirban Chakraborty, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1479 bytes --]

Œmake world¹.

 -- Keir

On 9/11/06 1:11 am, "Anirban Chakraborty" <anirbanchak@gmail.com> wrote:

> When I try to execute build for the unstable tree (rev 3280d6211213), I get
> the following error messages.
> -Anirban.
> 
> In file included from include/xen/hvm.h:5,
>                  from drivers/xen/xenbus/xenbus_probe.c:56:
> include/xen/interface/hvm/params.h:25:20: error: hvm_op.h: No such file or
> directory
> In file included from drivers/xen/xenbus/xenbus_probe.c:56:
> include/xen/hvm.h: In function 'hvm_get_parameter':
> include/xen/hvm.h:10: error: storage size of 'xhv' isn't known
> include/xen/hvm.h:15: error: 'HVMOP_get_param' undeclared (first use in this
> function)
> include/xen/hvm.h:15: error: (Each undeclared identifier is reported only once
> include/xen/hvm.h:15: error: for each function it appears in.)
> include/xen/hvm.h:10: warning: unused variable 'xhv'
> make[5]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1
> make[4]: *** [drivers/xen/xenbus] Error 2
> make[3]: *** [drivers/xen] Error 2
> make[2]: *** [drivers] Error 2
> make[2]: Leaving directory `/home/anirban/xen-unstable.hg/linux-2.6.16.29-xen'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/anirban/xen-unstable.hg'
> make: *** [linux-2.6-xen-install] Error 2
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel



[-- Attachment #1.2: Type: text/html, Size: 2251 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Build break
@ 2006-11-09  1:11 Anirban Chakraborty
  2006-11-09  8:35 ` Keir Fraser
  0 siblings, 1 reply; 5+ messages in thread
From: Anirban Chakraborty @ 2006-11-09  1:11 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1137 bytes --]

When I try to execute build for the unstable tree (rev 3280d6211213), I get
the following error messages.
-Anirban.

In file included from include/xen/hvm.h:5,
                 from drivers/xen/xenbus/xenbus_probe.c:56:
include/xen/interface/hvm/params.h:25:20: error: hvm_op.h: No such file or
directory
In file included from drivers/xen/xenbus/xenbus_probe.c:56:
include/xen/hvm.h: In function 'hvm_get_parameter':
include/xen/hvm.h:10: error: storage size of 'xhv' isn't known
include/xen/hvm.h:15: error: 'HVMOP_get_param' undeclared (first use in this
function)
include/xen/hvm.h:15: error: (Each undeclared identifier is reported only
once
include/xen/hvm.h:15: error: for each function it appears in.)
include/xen/hvm.h:10: warning: unused variable 'xhv'
make[5]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1
make[4]: *** [drivers/xen/xenbus] Error 2
make[3]: *** [drivers/xen] Error 2
make[2]: *** [drivers] Error 2
make[2]: Leaving directory `/home/anirban/xen-unstable.hg/linux-
2.6.16.29-xen'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/anirban/xen-unstable.hg'
make: *** [linux-2.6-xen-install] Error 2

[-- Attachment #1.2: Type: text/html, Size: 1291 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-17 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17  2:00 build break Kay, Allen M
2010-09-17 12:41 ` Ian Campbell
2010-09-17 15:13   ` Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2006-11-09  1:11 Build break Anirban Chakraborty
2006-11-09  8:35 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.