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-ppc-devel

[Xen-devel] todays xen-unstable is throwing gcc errors when compiling on

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] todays xen-unstable is throwing gcc errors when compiling on PPC
From: Jerone Young <jyoung5@xxxxxxxxxx>
Date: Mon, 09 Jul 2007 15:11:31 -0500
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 09 Jul 2007 13:09:22 -0700
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>
Organization: IBM
Reply-to: jyoung5@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
When compiling Xen on PPC today I get the following error that is being
caused by casting (u32 *). Once the cast is removed all is well and
things compile fine. Is this happening on x86 or x86-64 ? I'm using gcc
4.1.0 on Suse SLES 10.

There Error:
grant_table.c: In function ‘gnttab_prepare_for_transfer’:
grant_table.c:825: warning: dereferencing type-punned pointer will break
strict-aliasing rules
grant_table.c: In function ‘__acquire_grant_for_copy’:
grant_table.c:1055: warning: dereferencing type-punned pointer will
break strict-aliasing rules
grant_table.c:1080: warning: dereferencing type-punned pointer will
break strict-aliasing rules
grant_table.c:1080: warning: dereferencing type-punned pointer will
break strict-aliasing rules
grant_table.c:1080: warning: dereferencing type-punned pointer will
break strict-aliasing rules
grant_table.c:1080: warning: dereferencing type-punned pointer will
break strict-aliasing rules
grant_table.c:1080: warning: dereferencing type-punned pointer will
break strict-aliasing rules
make[3]: *** [grant_table.o] Error 1
make[3]: Leaving directory `/Work/xen-unstable.hg/xen/common'
make[2]: *** [/Work/xen-unstable.hg/xen/common/built_in.o] Error 2
make[2]: Leaving directory `/Work/xen-unstable.hg/xen/arch/powerpc'
make[1]: *** [/Work/xen-unstable.hg/xen/xen] Error 2
make[1]: Leaving directory `/Work/xen-unstable.hg/xen'
make: *** [build] Error 2



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

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