[Bug 755822] test_ABI: failed ABI check

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 30 06:40:03 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755822

--- Comment #4 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Vineeth, on which platform are you testing this? Just asking so that we change
this for the right ones.

from ./gst/gstconfig.h:66 we can see that GST_PADDING is defined to 4. Hence a 
gpointer _gst_reserved[GST_PADDING]
is 
32bit platform: 4*4 = 16
64bit platform: 8*4 = 32

we already have 16 bytes outside of the union, the final sizes should be 32 or
48. I don't see how alignment would cause any of them to be 40.

In any case I am not happy with the union there at all, since the 3 doubles
(24) are already larger than the padding and hence this is moot.

I've tried to fix this in
d4f81fb4e62d34a4c1dabc65b23ede7ce7694c63
but was assuming that GST_PADDING is perhaps 10 or something reasonable save.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list