WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Problems Building Xen 4.0.x on ia64 (various releases)

To: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Problems Building Xen 4.0.x on ia64 (various releases)
From: "Julio C. Ortega" <jortega@xxxxxxxxx>
Date: Mon, 20 Dec 2010 08:44:25 -0430
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Dec 2010 05:15:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101220.181023.434304322.kuwa@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: ONUVA
References: <20101219100816.2455372jqa7en64g@xxxxxxxxxxxxxxxx> <20101220.181023.434304322.kuwa@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.1.15) Gecko/20101030 Lightning/1.0b2 Icedove/3.0.10
El 20/12/10 04:40, KUWAMURA Shin'ya escribió:
> Hi,

Hello, thanks for your reply, mine's inline.

> 
>>
>> XEN 4.0.0:
>> In file included from xc_dom_ia64.c:26:
>> ia64/asm/dom_fw_common.h:47:23: error: asm/fpswa.h: No such file or
>> directory
> 
> Could you try gcc-4.1 instead of gcc-4.4? Building xen with GCC 4.4
> has a known problem and using GCC 4.1 can avoid it:
> http://lists.xensource.com/archives/html/xen-ia64-devel/2010-05/msg00007.html
> 

I've tried with GCC 4.1, also to no avail. The error message doesn't
change (i've cleaned the tree and rebuilt, of course)

I'll repaste the error:

gcc  -O2 -fomit-frame-pointer -fno-strict-aliasing -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
-D__XEN_TOOLS__ -MMD -MF .xc_dom_ia64.o.d  -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -I../../xen/common/libelf -Iia64
-Werror -Wmissing-prototypes  -I. -I../xenstore -I../include -c -o
xc_dom_ia64.o xc_dom_ia64.c
In file included from xc_dom_ia64.c:26:
ia64/asm/dom_fw_common.h:47:23: error: asm/fpswa.h: No such file or
directory
In file included from xc_dom_ia64.c:26:
ia64/asm/dom_fw_common.h:65: error: expected specifier-qualifier-list
before ‘fpswa_interface_t’


>> XEN 4.0.1 & XEN 4.0.2rc1 (testing)
>> /root/xen-4.0.1/xen/common/built_in.o: In function `kexec_exec':
>> /root/xen-4.0.1/xen/common/kexec.c:493: undefined reference to
>> `continue_hypercall_on_cpu'
>> 4.0.2rc1:
>> /root/xen-4.0.2rc1/xen/common/built_in.o: In function `kexec_exec':
>> /root/xen-4.0.2rc1/xen/common/kexec.c:493: undefined reference to
>> `continue_hypercall_on_cpu'
>> make[3]: *** [/root/xen-4.0.2rc1/xen/xen-syms] Error 1
>> Digging up and googling i've found out nothing, but seems weird that
>> particularly continue_hypercall_on_cpu() it's only present in
>> architecture specific include files.
> 
> You are right. Could you apply the attached patch?
> # Notice that this fix is ad hoc.

With this patch applied "make xen" doesn't fail anymore. ¡Thanks!


> 
> Best regards,

Thanks Shin'ya can you give me any pointers on the "asm/fpswa.h" build
error?

Have a nice day.

-- 
------------------------------------
Julio C. Ortega
Technical Coordinator
Infrastructure
ONUVA
http://www.onuva.com

Attachment: signature.asc
Description: OpenPGP digital signature

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