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] xen client initiative compile errors

To: Ben Guthro <ben.guthro@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen client initiative compile errors
From: Jean Guyader <jean.guyader@xxxxxxxxx>
Date: Fri, 3 Apr 2009 18:23:31 +0200
Cc: Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 03 Apr 2009 09:23:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=85hESggg/qnMDa/MsW7vQpLU/m/4DqGTyIxTW0EuEWk=; b=jjoHp7HW4staMn6iYIT5H8XxXBrblLbtz5c+X8DjqL49+cbFGW4lHArXY1USLKbjcF JXMNSpE41ZN9bSyuIjupo6Yyad22cZ75zTr35fAZmJqIEDgstbOhTLI/A/Sj4GaKOW5J DIVBhk4NUv/FCUgRIGQjU3taRAOwLV8NunymI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=b0eAjpTXgEmpnjSY5X6EdmhdxnF1BaPgqPkmGtq/ym9BcHTRg9lIVsnXOCzK57rZww X46x94uU1wgaMzQUPwqz/WkhN5a1a6R1GgYl9+UlU7PSX1gOfi8E1N7mlQzVyzuf+PHK lJfVdt/2arcqpMwTrV1ojkgHACr15okgXkG+g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1238774639.6535.69.camel@bguthro-desktop>
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>
References: <1238773264.6535.64.camel@bguthro-desktop> <f68b66460904030858u6d42345dke20f4ddb74ebced0@xxxxxxxxxxxxxx> <1238774639.6535.69.camel@bguthro-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The build works on 64 bits machine but with a 32 bits installation (or chroot).

2009/4/3 Ben Guthro <ben.guthro@xxxxxxxxxxxxxxxxxxx>:
> So...what you are saying is that 64bit machines are not currently
> supported by the xen client initiative?
>
> Seems a little restrictive, considering just about every machine sold
> now is 64 bits...
>
> I guess I'll move on to something else.
>
>
> On Fri, 2009-04-03 at 17:58 +0200, Jean Guyader wrote:
>> 2009/4/3 Ben Guthro <ben.guthro@xxxxxxxxxxxxxxxxxxx>:
>> > So...I'm trying to build the xen client initiative code found here:
>> > http://xenbits.xen.org/xenclient/
>> >
>> > However, I'm running into compile errors:
>> >  gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_amd64
>> > -DSYS_linux  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
>> > -fno-stack-protector   -c -o signals_asm.o signals_asm.c
>> > signals_asm.c: In function 'segv_handler':
>> > signals_asm.c:188: error: 'REG_CR2' undeclared (first use in this
>> > function)
>> > signals_asm.c:188: error: (Each undeclared identifier is reported only
>> > once
>> > signals_asm.c:188: error: for each function it appears in.)
>> > signals_asm.c:194: error: 'REG_RIP' undeclared (first use in this
>> > function)
>> > signals_asm.c:199: error: 'REG_R14' undeclared (first use in this
>> > function)
>> > signals_asm.c:200: error: 'REG_R15' undeclared (first use in this
>> > function)
>> > make[3]: *** [signals_asm.o] Error 1
>> >
>> > Am I missing something in my build environment that the configure
>> > scripts didn't complain about?
>> > I'm building on Ubuntu 8.04 (gcc 4.2.4)
>> >
>> > Has anyone else run into this issue?
>> >
>>
>> Hi,
>>
>> Yep, you got that because you are using a 64 bits system.
>> Ocaml doesn't like to be compile in 64 bits. Our dom0 is 32 bits and
>> we need 32 bits caml code.
>> The 64 bits version for ocamlopt doesn't support to generate 32 bits
>> code. So we have to compile a 32 bits version of ocamlopt.
>>
>> You definitely need to come with a better solution than that.
>>
>> Thanks,
>
>

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