Re: libgo patch committed: Update to Go 1.5 release

2015-11-11 Thread Ian Lance Taylor
On Wed, Nov 11, 2015 at 3:48 AM, Rainer Orth wrote: > Ian Lance Taylor writes: > >> On Sun, Nov 8, 2015 at 9:21 AM, Rainer Orth >> wrote: >>> >>> There were two remaining problems: >>> >>> * Before Solaris 12, sendfile only lives in libsendfile. This lead to >>> link failures in gotools. >>>

Re: libgo patch committed: Update to Go 1.5 release

2015-11-11 Thread Rainer Orth
Ian Lance Taylor writes: > On Sun, Nov 8, 2015 at 9:21 AM, Rainer Orth > wrote: >> >> There were two remaining problems: >> >> * Before Solaris 12, sendfile only lives in libsendfile. This lead to >> link failures in gotools. >> >> * Solaris 12 introduced a couple more types that use _in6_ad

Re: libgo patch committed: Update to Go 1.5 release

2015-11-10 Thread Ian Lance Taylor
On Sun, Nov 8, 2015 at 9:21 AM, Rainer Orth wrote: > > There were two remaining problems: > > * Before Solaris 12, sendfile only lives in libsendfile. This lead to > link failures in gotools. > > * Solaris 12 introduced a couple more types that use _in6_addr_t, which > are filtered out by mk

Re: libgo patch committed: Update to Go 1.5 release

2015-11-08 Thread Rainer Orth
Ian Lance Taylor writes: > On Fri, Nov 6, 2015 at 5:01 AM, Rainer Orth > wrote: >> Ian Lance Taylor writes: >> >>> I have committed a patch to libgo to update it to the Go 1.5 release. >>> >>> As usual for libgo updates, the actual patch is too large to attach to >>> this e-mail message. I've

Re: libgo patch committed: Update to Go 1.5 release

2015-11-06 Thread Ian Lance Taylor
On Fri, Nov 6, 2015 at 5:01 AM, Rainer Orth wrote: > Ian Lance Taylor writes: > >> I have committed a patch to libgo to update it to the Go 1.5 release. >> >> As usual for libgo updates, the actual patch is too large to attach to >> this e-mail message. I've attached the changes to the gccgo-sp

Re: libgo patch committed: Update to Go 1.5 release

2015-11-06 Thread Rainer Orth
Ian Lance Taylor writes: > I have committed a patch to libgo to update it to the Go 1.5 release. > > As usual for libgo updates, the actual patch is too large to attach to > this e-mail message. I've attached the changes to the gccgo-specific > files. > > Bootstrapped and ran Go testsuite on x86

Re: libgo patch committed: Update to Go 1.5 release

2015-11-03 Thread Ian Lance Taylor
On Tue, Nov 3, 2015 at 12:17 PM, Lynn A. Boger wrote: > I can see the problem in gotest. It has to do with the setting of GOARCH. > > Previously GOARCH was being set based on the --goarch argument, but now > goarch is being set. Not sure both GOARCH and goarch are needed? > > I've attached a pat

Re: libgo patch committed: Update to Go 1.5 release

2015-11-03 Thread Andreas Schwab
Ian Lance Taylor writes: > I don't know that I have access to a big-endian PPC GNU/Linux machine any > more. There's gcc110 on the compile farm. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something c

Re: libgo patch committed: Update to Go 1.5 release

2015-11-03 Thread Lynn A. Boger
I can see the problem in gotest. It has to do with the setting of GOARCH. Previously GOARCH was being set based on the --goarch argument, but now goarch is being set. Not sure both GOARCH and goarch are needed? I've attached a patch I used to get it to work. It worked for ppc64le and ppc64

Re: libgo patch committed: Update to Go 1.5 release

2015-11-03 Thread Ian Lance Taylor
On Tue, Nov 3, 2015 at 7:48 AM, Lynn A. Boger wrote: > > We are seeing failures on all the libgo tests when gccgo is built with the > latest trunk > on ppc64 (BE) and when running the testsuite for 64 bit. The failures > do not occur if run on ppc64 BE with m32 and do not occur on ppc64le. > > Th

Re: libgo patch committed: Update to Go 1.5 release

2015-11-03 Thread Lynn A. Boger
We are seeing failures on all the libgo tests when gccgo is built with the latest trunk on ppc64 (BE) and when running the testsuite for 64 bit. The failures do not occur if run on ppc64 BE with m32 and do not occur on ppc64le. The messages say this: make[3]: Entering directory `/home/boger/g

Re: libgo patch committed: Update to Go 1.5 release

2015-11-03 Thread Ian Lance Taylor
On Mon, Nov 2, 2015 at 11:48 PM, Uros Bizjak wrote: > >> I have committed a patch to libgo to update it to the Go 1.5 release. >> >> As usual for libgo updates, the actual patch is too large to attach to >> this e-mail message. I've attached the changes to the gccgo-specific >> files. >> >> Boots

Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Uros Bizjak
Hello! > I have committed a patch to libgo to update it to the Go 1.5 release. > > As usual for libgo updates, the actual patch is too large to attach to > this e-mail message. I've attached the changes to the gccgo-specific > files. > > Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.

Re: [gofrontend-dev] Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Ian Lance Taylor
On Mon, Nov 2, 2015 at 12:59 PM, Lynn A. Boger wrote: > > I assume there will be a different number for the libgo.so for Go 1.5? Thanks for the reminder. I committed this patch to bump the version number. Ian Index: gcc/go/gofrontend/MERGE ===

Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Lynn A. Boger
I'll try it That was the only error I hit with the go and libgo tests with Go 1.5. I assume there will be a different number for the libgo.so for Go 1.5? On 11/02/2015 02:23 PM, Ian Lance Taylor wrote: On Mon, Nov 2, 2015 at 7:39 AM, Lynn A. Boger wrote: I see this error when building g

Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Ian Lance Taylor
On Mon, Nov 2, 2015 at 7:39 AM, Lynn A. Boger wrote: > I see this error when building gccgo from trunk on ppc64le and running the > libgo tests: > > exec_unix_test.go:174:43: error: reference to undefined identifier > 'syscall.TIOCGPGRP' > errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, > ui

Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Ian Lance Taylor
On Mon, Nov 2, 2015 at 1:37 AM, Andreas Schwab wrote: > Ian Lance Taylor writes: > >> On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab wrote: >>> ../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to >>> undefined name 'TIOCSPGRP' >>>_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGR

Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Lynn A. Boger
I see this error when building gccgo from trunk on ppc64le and running the libgo tests: exec_unix_test.go:174:43: error: reference to undefined identifier 'syscall.TIOCGPGRP' errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp)))

Re: libgo patch committed: Update to Go 1.5 release

2015-11-02 Thread Andreas Schwab
Ian Lance Taylor writes: > On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab wrote: >> ../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to >> undefined name 'TIOCSPGRP' >>_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer(&pgrp)) >>

Re: libgo patch committed: Update to Go 1.5 release

2015-11-01 Thread Ian Lance Taylor
On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab wrote: > ../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to > undefined name 'TIOCSPGRP' >_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer(&pgrp)) > ^ > > $ grep TIOCSPGRP gen-sy

Re: libgo patch committed: Update to Go 1.5 release

2015-11-01 Thread Ian Lance Taylor
On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab wrote: > ../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to > undefined name 'TIOCSPGRP' >_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer(&pgrp)) > ^ > > $ grep TIOCSPGRP gen-sy

Re: libgo patch committed: Update to Go 1.5 release

2015-11-01 Thread Andreas Schwab
../../../../libgo/go/syscall/exec_linux.go:185:37: error: reference to undefined name 'TIOCSPGRP' _, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer(&pgrp)) ^ $ grep TIOCSPGRP gen-sysinfo.go // unknowndefine TIOCSPGRP _IOW('t', 118, int) Andreas.

libgo patch committed: Update to Go 1.5 release

2015-10-30 Thread Ian Lance Taylor
I have committed a patch to libgo to update it to the Go 1.5 release. As usual for libgo updates, the actual patch is too large to attach to this e-mail message. I've attached the changes to the gccgo-specific files. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainlin