Below is some error messages: gtkcssselector.c:1229:3: note: in expansion of macro 'G_STATIC_ASSERT' G_STATIC_ASSERT (sizeof (gconstpointer) == sizeof (result)); ^ gtkcssselector.c: In function 'decode_position': /home/nxadm/nx/ala-blade46.1/builds-2014-03-09-205333/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/bcm-xlp/usr/include/glib-2.0/glib/gmacros.h:181:53: error: size of array '_GStaticAssertCompileTimeAssertion_1' is negative #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED ^ /home/nxadm/nx/ala-blade46.1/builds-2014-03-09-205333/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/bcm-xlp/usr/include/glib-2.0/glib/gmacros.h:178:47: note: in definition of macro 'G_PASTE_ARGS' #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2 ^ /home/nxadm/nx/ala-blade46.1/builds-2014-03-09-205333/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/bcm-xlp/usr/include/glib-2.0/glib/gmacros.h:181:44: note: in expansion of macro 'G_PASTE' #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED ^ gtkcssselector.c:1254:3: note: in expansion of macro 'G_STATIC_ASSERT' G_STATIC_ASSERT (sizeof (gconstpointer) == sizeof (result)); ^ ======================================================================== After looking into this problem, I found the compiler thought that sizeof(void *) and sizeof(const void *) are of different sizes. I'm really confused. //Chen Qi
The problem seems to be in glib, I'll have a look.
Indeed it's a glib bug not a gtk+ one. If gsize is unsigned long then probably gssize should be signed long and not signed int (see glibconfig.h). You can hard code gssize until a patch is provided.
Created attachment 1813 [details] the patch
Fix merged: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=331962ffad3aff172c0801c7fee2379715ff9033