[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Build Xen with at least -O1 to avoid very large stack frames.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID ed20a5addce450af042e61f0bdb6f7b59de9b25c
# Parent  f3d6a52816171a0b0e20b8e2b234b0b7aaec455b
Build Xen with at least -O1 to avoid very large stack frames.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 Config.mk |    2 ++
 1 files changed, 2 insertions(+)

diff -r f3d6a5281617 -r ed20a5addce4 Config.mk
--- a/Config.mk Thu Jul 27 11:20:32 2006 +0100
+++ b/Config.mk Thu Jul 27 12:59:36 2006 +0100
@@ -36,6 +36,8 @@ CFLAGS    ?= -O2 -fomit-frame-pointer
 CFLAGS    ?= -O2 -fomit-frame-pointer
 CFLAGS    += -DNDEBUG
 else
+# Less than -O1 produces bad code and large stack frames
+CFLAGS    ?= -O1 -fno-omit-frame-pointer
 CFLAGS    += -g
 endif
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.