This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix libgo syscall test on Solaris
- From: Ian Lance Taylor <iant at golang dot org>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Tue, 20 Sep 2016 11:27:29 -0700
- Subject: Re: Fix libgo syscall test on Solaris
- Authentication-results: sourceware.org; auth=none
- References: <ydd37l5y21b.fsf@CeBiTec.Uni-Bielefeld.DE>
On Mon, Sep 12, 2016 at 1:07 AM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> The libgo syscall test has been failing on Solaris for quite some time:
>
> exec_unix_test.go:174:19: error: reference to undefined identifier 'syscall.Ioctl'
> errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp)))
> ^
> exec_unix_test.go:209:18: error: reference to undefined identifier 'syscall.Ioctl'
> errno = syscall.Ioctl(tty.Fd(), syscall.TIOCSPGRP, uintptr(unsafe.Pointer(&fpgrp)))
> ^
> FAIL: syscall
>
> The following patch fixes it, tested across the whole {i386-pc,
> sparc-sun}-solaris2.1[012] range.
Thanks. Committed to mainline.
Ian