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

[Xen-devel] ia64 question ...

To: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] ia64 question ...
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Wed, 08 Nov 2006 18:05:18 +0100
Delivery-date: Wed, 08 Nov 2006 09:05:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20060911)
  Hi,

quick ia64 abi question:

struct vcpu_guest_context {
    unsigned long flags;       /* VGCF_* flags */
    struct cpu_user_regs user_regs;
    [ ... ]
};

offsetof(struct vcpu_guest_context,user_regs)) gives me 16.  I've
expected 8.  Does ia64 align structs on 16 byte borders?  Or is there
some other reason?

Oh, and btw: any idea on the build error below?  I suspect something is
wrong with my cross compiler.  It managed to build the xen kernel
though, libxc builds ok too, so it probably is some little detail ...

ia64-linux-gcc  -DPIC -O2 -fomit-frame-pointer -DNDEBUG -Wall
-Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_TOOLS__ -Wall
-g -Werror -Wp,-MD,.xs_lib.opic.d  -I../../tools/libxc -I. -fPIC -c -o
xs_lib.opic xs_lib.c
xs_lib.c: In function ‘xs_daemon_path’:
xs_lib.c:43: error: ‘PATH_MAX’ undeclared (first use in this function)
xs_lib.c:43: error: (Each undeclared identifier is reported only once
xs_lib.c:43: error: for each function it appears in.)
[ ... more similar errors follow ... ]

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg

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

<Prev in Thread] Current Thread [Next in Thread>