Re: Go patch committed: Pass -t to native linker on Solaris

2014-06-16 Thread Ian Lance Taylor
On Mon, Jun 16, 2014 at 6:58 AM, Ian Lance Taylor wrote: > On Mon, Jun 16, 2014 at 3:56 AM, Rainer Orth > wrote: >> >> Works fine, thanks. Just before your patch arrived, I meant to test the >> following, slightly more general patch. Perhaps it's an option to >> handle other quirks like this? >

Re: Go patch committed: Pass -t to native linker on Solaris

2014-06-16 Thread Ian Lance Taylor
On Mon, Jun 16, 2014 at 3:56 AM, Rainer Orth wrote: > > Works fine, thanks. Just before your patch arrived, I meant to test the > following, slightly more general patch. Perhaps it's an option to > handle other quirks like this? This approach is fine with me, but the target macro should be docu

Re: Go patch committed: Pass -t to native linker on Solaris

2014-06-16 Thread Rainer Orth
Ian Lance Taylor writes: > This patch changes the gccgo driver to pass -t to the native linker on > Solaris. This avoids warnings like > > ld: warning: symbol 'go$zerovalue' has differing sizes: > (file hello.o value=0x8; file > i386-pc-solaris2.11/libgo/.libs/libgo.so value=0x800); >

Go patch committed: Pass -t to native linker on Solaris

2014-06-13 Thread Ian Lance Taylor
This patch changes the gccgo driver to pass -t to the native linker on Solaris. This avoids warnings like ld: warning: symbol 'go$zerovalue' has differing sizes: (file hello.o value=0x8; file i386-pc-solaris2.11/libgo/.libs/libgo.so value=0x800); hello.o definition taken and upda