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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] fix for bz #858 - hanging domUs with gcc 4.2

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix for bz #858 - hanging domUs with gcc 4.2
From: "Charles Coffing" <ccoffing@xxxxxxxxxx>
Date: 2007年7月06日 16:35:11 -0400
Delivery-date: 2007年7月06日 13:33:14 -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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
This bug:
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=858
is caused by -fstrict-aliasing being enabled by default in gcc 4.2 when -O2, 
-O3, or -Os are used. (Quick recap of the bug: When the tools are built using 
gcc 4.2, various hangs of the domUs are observed.)
The simplest fix is to disable strict aliasing for xenstore. Please apply the 
following patch to xen-unstable (and xen-3.1, if fixes are being accumulated 
there).
Thanks.
Signed-off-by: Charles Coffing <ccoffing@xxxxxxxxxx>
--- xen-3.1-testing.orig/tools/xenstore/Makefile
+++ xen-3.1-testing/tools/xenstore/Makefile
@@ -6,7 +6,7 @@ MAJOR = 3.0
 MINOR = 0
 PROFILE=#-pg
-BASECFLAGS=-Werror
+BASECFLAGS=-Werror -fno-strict-aliasing
 # Make gcc generate dependencies.
 BASECFLAGS += -Wp,-MD,.$(@F).d
 PROG_DEP = .*.d
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix for bz #858 - hanging domUs with gcc 4.2, Charles Coffing <=
Previous by Date: Re: [Xen-devel] question regarding dom0 scheduling , Emmanuel Ackaouy
Next by Date: [Xen-devel] Hacking XenEnterprise / Please Help , Jim Burnes
Previous by Thread: [Xen-devel] Re: [Xen-changelog] [linux-2.6.18-xen] Add "#ifdef ARCH_HAS_DEV_MEM" to archtecture specific file_operations. , Hollis Blanchard
Next by Thread: [Xen-devel] Hacking XenEnterprise / Please Help , Jim Burnes
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /