Re: libgo patch committed: Update to Go1.8rc1

2017-01-23 Thread Ian Lance Taylor
On Tue, Jan 17, 2017 at 8:44 AM, Lynn A. Boger wrote: > In the past, the libgo version number has always matched the Go version, not > the gcc release. > > The libgo for Go 1.7 and Go 1.8 are not the same. If someone wanted to > build gccgo for Go 1.7 using an old commit > > maybe for testing or

Re: libgo patch committed: Update to Go1.8rc1

2017-01-19 Thread Rainer Orth
Hi Ian, > On Mon, Jan 16, 2017 at 7:21 AM, Rainer Orth > wrote: >> >> I'm getting further on Solaris now, but the build still fails: > > I committed this patch to fix the remaining build problems on Solaris. > Bootstrapped and ran some of the Go tests on i386-sun-solaris11 and > x86_64-pc-linux-g

Re: libgo patch committed: Update to Go1.8rc1

2017-01-17 Thread Ian Lance Taylor
On Mon, Jan 16, 2017 at 7:21 AM, Rainer Orth wrote: > > I'm getting further on Solaris now, but the build still fails: I committed this patch to fix the remaining build problems on Solaris. Bootstrapped and ran some of the Go tests on i386-sun-solaris11 and x86_64-pc-linux-gnu. Ian Index: gcc/go

Re: libgo patch committed: Update to Go1.8rc1

2017-01-17 Thread Lynn A. Boger
In the past, the libgo version number has always matched the Go version, not the gcc release. The libgo for Go 1.7 and Go 1.8 are not the same. If someone wanted to build gccgo for Go 1.7 using an old commit maybe for testing or comparison purposes, the libgo version would not identify whic

Re: libgo patch committed: Update to Go1.8rc1

2017-01-17 Thread Jakub Jelinek
On Tue, Jan 17, 2017 at 10:03:25AM -0600, Lynn A. Boger wrote: > I think this is missing the update of the libgo version number. Why? GCC 6.x shipped with libgo.so.9, so I don't see anything wrong on 7.x shipping libgo.so.10. Jakub

Re: libgo patch committed: Update to Go1.8rc1

2017-01-17 Thread Lynn A. Boger
I think this is missing the update of the libgo version number. - Lynn On 01/13/2017 06:05 PM, Ian Lance Taylor wrote: I committed a patch to libgo to update the library to the first release candidate of the upcoming Go 1.8 release. This is a big update, mostly a straight copy of the code in t

Re: libgo patch committed: Update to Go1.8rc1

2017-01-16 Thread Rainer Orth
Hi Ian, > This seems to need a version of defs_solaris.go that works with the > constants and structs living in syscall. I've made some progress here: I need to check for SIOCGLIF* ioctls, and for the IFT_* constants. I've updated configure.in and sysinfo.c accordingly, and adapted defs_solari

Re: libgo patch committed: Update to Go1.8rc1

2017-01-16 Thread Rainer Orth
Hi Ian, > On Sun, Jan 15, 2017 at 3:12 AM, Andreas Schwab wrote: >> In file included from ../../../libgo/runtime/runtime.h:113:0, >> from ../../../libgo/runtime/go-libmain.c:15: >> ./runtime.inc:650:8: error: redefinition of 'struct siginfo' >> struct siginfo { >> ^~

Re: libgo patch committed: Update to Go1.8rc1

2017-01-15 Thread Ian Lance Taylor
On Sun, Jan 15, 2017 at 3:12 AM, Andreas Schwab wrote: > In file included from ../../../libgo/runtime/runtime.h:113:0, > from ../../../libgo/runtime/go-libmain.c:15: > ./runtime.inc:650:8: error: redefinition of 'struct siginfo' > struct siginfo { > ^~~ > In file incl

Re: libgo patch committed: Update to Go1.8rc1

2017-01-15 Thread Ian Lance Taylor
On Sun, Jan 15, 2017 at 10:08 AM, Rainer Orth wrote: > Andreas Schwab writes: > > Same on Solaris. However, before I even get there, I hit > > make[4]: *** No rule to make target 'golang_org/x/net/lif/lif.lo', needed by > 'libgo.la'. Stop. > > Fixed like this: Thanks. Committed. Ian

Re: libgo patch committed: Update to Go1.8rc1

2017-01-15 Thread Rainer Orth
Andreas Schwab writes: > In file included from ../../../libgo/runtime/runtime.h:113:0, > from ../../../libgo/runtime/go-libmain.c:15: > ./runtime.inc:650:8: error: redefinition of 'struct siginfo' > struct siginfo { > ^~~ > In file included from /usr/include/signal.h

Re: libgo patch committed: Update to Go1.8rc1

2017-01-15 Thread Andreas Schwab
In file included from ../../../libgo/runtime/runtime.h:113:0, from ../../../libgo/runtime/go-libmain.c:15: ./runtime.inc:650:8: error: redefinition of 'struct siginfo' struct siginfo { ^~~ In file included from /usr/include/signal.h:79:0, from ../../..