https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64021
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Ian Lance Taylor <ian at airs dot com> --- I think this is fixed, or worked around, by https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01286.html , which changes libgo so that a Go empty struct (or empty array) is mapped to "struct { void }". This gets around the libffi requirement that a struct has a field without increasing the actual size of the type.