This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, Nov 2, 2015 at 1:37 AM, Andreas Schwab <schwab@linux-m68k.org> wrote: > 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 You still didn't say what system you are trying. It makes any fix hard to test. Still, I committed this patch in the hopes of fixing this problem. Ian
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |