This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Merge from revision 18783 of master
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Fri, 06 Jun 2014 11:12:14 +0200
- Subject: Re: libgo patch committed: Merge from revision 18783 of master
- Authentication-results: sourceware.org; auth=none
- References: <mcrioogdu1a dot fsf at iant-glaptop dot roam dot corp dot google dot com>
Ian Lance Taylor <iant@google.com> 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