[poky] [PATCH A] n450: add optimization flags to gtk+ for n450 to avoid gcc core2 bug

Darren Hart dvhart at linux.intel.com
Wed Mar 16 14:49:51 PDT 2011


Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the change only to the gtk+
recipe for the n450 bsp.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
CC: Ke Yu <ke.yu at intel.com>
---
 meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend

diff --git a/meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend b/meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend
new file mode 100644
index 0000000..3af4187
--- /dev/null
+++ b/meta-n450/recipes-gnome/gtk+/gtk+_2.22.1.bbappend
@@ -0,0 +1,2 @@
+#-fomit-frame-pointer in default FULL_OPTIMIZATION will cause matchbox-panel segfault on n450
+FULL_OPTIMIZATION_n450 = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
-- 
1.7.1

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the poky mailing list