path: root/meta/recipes-gnome/gtk+
diff options
authorZhai Edwin <>2010-09-10 01:23:53 (GMT)
committerRichard Purdie <>2010-09-10 10:47:21 (GMT)
commit3a530fb3a3c65dfba8f5e5d45b32ba29d7f20415 (patch)
tree2a63e018cec1fc5a8f79df4a82c515f994dd5c81 /meta/recipes-gnome/gtk+
parentc4fb6982c0aec758e9a080c5a8435239d0262cf6 (diff)
Fix the matchbox-panel seg fault on netbook & emenlow
netbook & emenlow use "-march=core2"(in instead of "=i586"(for qemux86), plus the "-fomit-frame-pointer" in default FULL_OPTIMIZATION, this cause strange seg fault when starting matchbox-panel. seg fault happened @ tmp_reset_bg (gtk+-2.20.1/gdk/x11/gdkwindow-x11.c), which is inline function extended inside _gdk_x11_window_tmp_unset_bg. When expanding GDK_DRAWABLE_XID(obj->bg_pixmap) with gcc 4.5.0 optimization, a function call is missing. Saving a local var to stack also disappeared, but still tried to restore it from stack, which cause seg fault after getting a worng value. This fix avoid "-fomit-frame-pointer" in gtk+ on netbook & emenlow. [BUGID #224] fixed by this. Signed-off-by: Zhai Edwin <>
Diffstat (limited to 'meta/recipes-gnome/gtk+')
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk+/ b/meta/recipes-gnome/gtk+/
index 00de695..7bb79bf 100644
--- a/meta/recipes-gnome/gtk+/
+++ b/meta/recipes-gnome/gtk+/
@@ -34,6 +34,10 @@ LIBV = "2.10.0"
34 34
35PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" 35PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
36 36
37#-fomit-frame-pointer in default FULL_OPTIMIZATION will cause matchbox-panel segfault on netbook & emenlow
38FULL_OPTIMIZATION_emenlow = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
39FULL_OPTIMIZATION_netbook = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
37python populate_packages_prepend () { 41python populate_packages_prepend () {
38 import os.path 42 import os.path
39 43