Ian Lance Taylor <[email protected]> writes:
> I have committed a patch to libgo to merge from revision
> 18783:00cce3a34d7e of the master library. This revision was committed
> January 7. I picked this revision to merge to because the next revision
> deleted a file that is explicitly merged in by the libgo/merge.sh
> script.
>
> Among other things, this patch changes type descriptors to add a new
> pointer to a zero value. In gccgo this is implemented as a common
> variable, and that requires some changes to the compiler and a small
> change to go-gcc.cc.
This change introduced many failures on Solaris with /bin/ld, e.g.
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
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University