[Bug go/52532] Many libgo tests fail with various linker errors

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 9 00:44:00 GMT 2012


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.



More information about the Gcc-bugs mailing list