Daniel Schepler
unread,Jun 11, 2012, 2:03:58 PM6/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to x32...@googlegroups.com
Hi, anybody tried compiling gobject-introspection on x32? When I run the testsuite, I get a failure:
diff -u offsets.compiled offsets.introspected
--- offsets.compiled 2012-06-11 10:39:05.000000000 -0700
+++ offsets.introspected 2012-06-11 10:39:05.000000000 -0700
@@ -5,7 +5,7 @@
some_enum 48
some_ptrs 56
-OffsetsBasic: size=80, alignment=8
+OffsetsBasic: size=72, alignment=8
dummy1 0
field_int8 1
dummy2 2
@@ -23,7 +23,7 @@
dummy8 56
field_size 60
dummy9 64
-field_time 72
+field_time 68
OffsetsEnum: size=48, alignment=4
enum1 0
It looks like that test case assumes sizeof(time_t) == sizeof(long), and so does GLib-2.0.gir. I checked that all the occurrences of time_t in GLib-2.0.gir are in parameters or return values, so that one should be fine. But if there are any .gir files out there with a time_t as part of a structure, it looks like they'll be broken.
--
Daniel Schepler