[Bug go/61496] New: [4.10 regression] Many Go tests FAIL with ld warning about go$zerovalue
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 13 13:16:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61496
Bug ID: 61496
Summary: [4.10 regression] Many Go tests FAIL with ld warning
about go$zerovalue
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: ro at gcc dot gnu.org
CC: cmang at google dot com
Host: *-*-solaris2.*
Target: *-*-solaris2.*
Build: *-*-solaris2.*
As initially reported
https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00589.html
many Go tests now FAIL with ld warnings like
FAIL: go.test/test/bom.go -O (test for excess errors)
ld: warning: symbol 'go$zerovalue' has differing sizes:
(file bom.o value=0x8; file
/var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/./libgo/.libs/libgo.so
value=0x800);
bom.o definition taken and updated with larger size
When using /bin/ld on Solaris.
This can be worked around by linking with -t.
Rainer
More information about the Gcc-bugs
mailing list