3 messages in com.xensource.lists.xen-bugs[Xen-bugs] [Bug 858] gcc 4.2 compiled...
FromSent OnAttachments
bugz...@lists.xensource.com13 Jan 2007 13:05 
bugz...@lists.xensource.com06 Jul 2007 12:10 
bugz...@lists.xensource.com06 Jul 2007 13:34 
Subject:[Xen-bugs] [Bug 858] gcc 4.2 compiled Xen freezes domU forever
From:bugz...@lists.xensource.com (bugz@lists.xensource.com)
Date:07/06/2007 01:34:15 PM
List:com.xensource.lists.xen-bugs

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=858

------- Comment #2 from ccof@novell.com 2007-07-06 13:34 ------- Strict aliasing (which defaults to on in gcc 4.2 when using -O2, -O3, or -Os) is breaking libxenstore. As posted on xen-devel, a work-around is:

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