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-users

[Xen-users] Re: make world fails with ASM errors

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: make world fails with ASM errors
From: Andrew Thompson <thompsy@xxxxxxxxx>
Date: Fri, 14 Apr 2006 20:46:27 +0000 (UTC)
Delivery-date: Fri, 14 Apr 2006 14:00:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <000001c65cbf$d655bd50$6401a8c0@dmmobile>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Loom/3.14 (http://gmane.org/)
Duncan Morgan <dmorgan <at> gmi-mr.com> writes:
> cc1: warnings being treated as errors
> In file included from /home/dmorgan/xen-3.0.1/xen/include/asm/mpspec.h:5,
>                  from /home/dmorgan/xen-3.0.1/xen/include/asm/smp.h:18,
>                  from /home/dmorgan/xen-3.0.1/xen/include/xen/smp.h:13,
>                  from /home/dmorgan/xen-3.0.1/xen/include/xen/sched.h:8,
>                  from x86_32/asm-offsets.c:9:
> /home/dmorgan/xen-3.0.1/xen/include/asm/mpspec_def.h:78: warning: ‘packed’
> attribute ignored for field of type ‘unsigned char[5u]’


Hi,

I've just come across this error myself and found the following solution. I'm no
expert by any means but this seems to work ok. I basically followed the
instructions here [http://lkml.org/lkml/2005/12/27/153].

Edit the file: /tmp/xen-3.0.1/xen/include/asm/mpspec_def.h
and change line 78 from:

unsigned char mpc_bustype[6] __attribute((packed));

to:

unsigned char mpc_bustype[6];


All should compile then.
Hope that helps.

--
Andrew Thompson
http://www.downthewire.co.uk


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

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