http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52532
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2012-03-09 00:44:15
UTC ---
This is an annoying error message from some versions of GNU ld. Go does permit
zero-sized variables, so there is nothing wrong with having them. I think the
linker should be checking for STT_NOTYPE instead. Anyhow, earlier today I
committed a patch to mainline which I think should fix it.