All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@suse.de>
To: Xen devel list <xen-devel@lists.xensource.com>
Subject: ia64 question ...
Date: Wed, 08 Nov 2006 18:05:18 +0100	[thread overview]
Message-ID: <45520E4E.4090700@suse.de> (raw)


  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@suse.de>
http://www.suse.de/~kraxel/julika-dora.jpeg

             reply	other threads:[~2006-11-08 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08 17:05 Gerd Hoffmann [this message]
2006-11-08 17:20 ` ia64 question Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45520E4E.4090700@suse.de \
    --to=kraxel@suse.de \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.