Bug#604603: gobject-introspection: FTBFS on m68k: size checks fail

Andreas Schwab schwab at linux-m68k.org
Tue Nov 23 20:11:54 UTC 2010


Thorsten Glaser <tg at mirbsd.de> writes:

> sizeof(Header) is expected to be 112 but is 110.
> sizeof(ArgBlob) is expected to be 16 but is 14.
> sizeof(InterfaceBlob) is expected to be 40 but is 38.

Invalid alignment assumptions:

--- girepository/gtypelib.h.~1~	2010-03-18 22:43:48.000000000 +0100
+++ girepository/gtypelib.h	2010-11-23 21:09:57.000000000 +0100
@@ -269,7 +269,7 @@ typedef struct {
   guint16 interface_blob_size;
   guint16 union_blob_size;
   
-  guint16 padding[7];
+  guint16 padding[8];
 } Header;
 
 /**
@@ -391,6 +391,8 @@ typedef struct {
   gint8        closure;
   gint8        destroy;
 
+  guint16      padding;
+
   SimpleTypeBlob arg_type;
 } ArgBlob;
 
@@ -981,6 +983,8 @@ typedef struct {
   guint16 n_vfuncs;
   guint16 n_constants;  
 
+  guint16 padding;
+
   guint32 reserved2;
   guint32 reserved3;
 

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."






More information about the pkg-gnome-maintainers mailing list