[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] fix for bz #858 - hanging domUs with gcc 4.2
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |