Go patch committed: Update libgo to Go release r60
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Tue Sep 27 09:57:00 GMT 2011
Ian Lance Taylor <iant@google.com> writes:
>> * IRIX will be worse: while it has TIOCNOTTY, it completely lacks
>> TIOCSCTTY.
>>
>> Suggestions?
>
> For a missing TIOCSCTTY I think the simplest solution will be to set it
> in syscall_irix.go to some innocuous value if there is one. E.g.,
> TIOCNXCL if Irix supports that. If there is no innocuous value, let's
> just set it to 0 and test for 0 in exec.go before calling ioctl.
>
> Similarly, if we can't get TIOCNOTTY defined in sysinfo.go, then I think
> it's OK to just define it directly in syscall_irix.go and
> syscall_solaris.go. Those values are not going to change with different
> versions of the OS.
Solaris 8 and 9 suffer from the same problem. The following patch
allowed the bootstrap to complete. An IRIX bootstrap is currently
running, but will take some time to complete.
Rainer
2011-09-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* mksysinfo.sh: Provide TIOCSCTTY if missing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgo-tiocsctty.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110927/1f53a5f9/attachment.bin>
-------------- next part --------------
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list