This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Update to Go 1.5 release
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Ian Lance Taylor <iant at golang dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev\ at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Mon, 02 Nov 2015 10:37:49 +0100
- Subject: Re: libgo patch committed: Update to Go 1.5 release
- Authentication-results: sourceware.org; auth=none
- References: <CAOyqgcWGmHROKJwtefzkRbYsF8ogrZG=_RoHXFQ4DGeMGZ5mow at mail dot gmail dot com> <m2fv0qw1sx dot fsf at linux-m68k dot org> <CAKOQZ8xVuv1kCmg8d_xMs_iQLYfnmUfYWXtjfb_3+kUG2jQdLQ at mail dot gmail dot com>
Ian Lance Taylor <iant@golang.org> writes:
> On Sun, Nov 1, 2015 at 1:39 AM, Andreas Schwab <schwab@linux-m68k.org> 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-sysinfo.go
>> // unknowndefine TIOCSPGRP _IOW('t', 118, int)
>
> I have committed this patch which may fix the problem. Let me know if
> it still happens for you. Thanks.
../../../../libgo/go/syscall/exec_linux.go:185:37: error: integer constant overflow
_, err1 = raw_ioctl_ptr(sys.Ctty, TIOCSPGRP, unsafe.Pointer(&pgrp))
// unknowndefine TIOCSPGRP _IOW('t', 118, int)
const _TIOCSPGRP_val = 2147775606
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."