Skip to content

Instantly share code, notes, and snippets.

@amdprophet
Created January 29, 2020 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amdprophet/33d5cd56699839437c3a8f20358f391a to your computer and use it in GitHub Desktop.
Save amdprophet/33d5cd56699839437c3a8f20358f391a to your computer and use it in GitHub Desktop.
# golang.org/x/sys/unix
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:16:5: error: reference to undefined name 'isBigEndian'
16 | if isBigEndian {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:41: error: use of undefined type 'Dirent'
81 | const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:10:12: error: use of undefined type 'FdSet'
10 | func (fds *FdSet) Set(fd int) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:11:5: error: reference to field 'Bits' in object which has no fields or methods
11 | fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:11:14: error: reference to undefined name 'NFDBITS'
11 | fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:11:47: error: reference to undefined name 'NFDBITS'
11 | fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:16:5: error: reference to field 'Bits' in object which has no fields or methods
16 | fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:16:14: error: reference to undefined name 'NFDBITS'
16 | fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:16:48: error: reference to undefined name 'NFDBITS'
16 | fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:21:12: error: reference to field 'Bits' in object which has no fields or methods
21 | return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:21:21: error: reference to undefined name 'NFDBITS'
21 | return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:21:47: error: reference to undefined name 'NFDBITS'
21 | return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:21:32: error: invalid context-determined non-integer type for left operand of shift
21 | return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:26:20: error: reference to field 'Bits' in object which has no fields or methods
26 | for i := range fds.Bits {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:26:20: error: reference to field 'Bits' in object which has no fields or methods
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:27:6: error: reference to field 'Bits' in object which has no fields or methods
27 | fds.Bits[i] = 0
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:26:2: error: range clause must have array, slice, string, map, or channel type
26 | for i := range fds.Bits {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:20:9: error: reference to undefined name 'ioctl'
20 | return ioctl(fd, req, uintptr(value))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:29:9: error: reference to undefined name 'ioctl'
29 | err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:39:9: error: reference to undefined name 'ioctl'
39 | err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:51:9: error: reference to undefined name 'ioctl'
51 | err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:57:9: error: reference to undefined name 'ioctl'
57 | err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:63:9: error: reference to undefined name 'ioctl'
63 | err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:18:21: error: reference to undefined name 'SizeofCmsghdr'
18 | return cmsgAlignOf(SizeofCmsghdr) + datalen
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:24:21: error: reference to undefined name 'SizeofCmsghdr'
24 | return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:28:73: error: reference to undefined name 'SizeofCmsghdr'
28 | return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)) + offset)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:27:10: error: use of undefined type 'Cmsghdr'
27 | func (h *Cmsghdr) data(offset uintptr) unsafe.Pointer {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:49:25: error: reference to field 'Len' in object which has no fields or methods
49 | i += cmsgAlignOf(int(h.Len))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:56:6: error: reference to field 'Len' in object which has no fields or methods
56 | if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:56:13: error: reference to undefined name 'SizeofCmsghdr'
56 | if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:56:38: error: reference to field 'Len' in object which has no fields or methods
56 | if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:57:20: error: reference to undefined name 'EINVAL'
57 | return nil, nil, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:59:26: error: reference to undefined name 'SizeofCmsghdr'
59 | return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:59:42: error: reference to field 'Len' in object which has no fields or methods
59 | return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:68:3: error: reference to field 'Level' in object which has no fields or methods
68 | h.Level = SOL_SOCKET
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:68:12: error: reference to undefined name 'SOL_SOCKET'
68 | h.Level = SOL_SOCKET
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:69:3: error: reference to field 'Type' in object which has no fields or methods
69 | h.Type = SCM_RIGHTS
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:69:11: error: reference to undefined name 'SCM_RIGHTS'
69 | h.Type = SCM_RIGHTS
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:70:3: error: reference to field 'SetLen' in object which has no fields or methods
70 | h.SetLen(CmsgLen(datalen))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:72:14: error: reference to field 'data' in object which has no fields or methods
72 | *(*int32)(h.data(4 * uintptr(i))) = int32(fd)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:72:3: error: expected pointer
72 | *(*int32)(h.data(4 * uintptr(i))) = int32(fd)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:80:13: error: reference to field 'Level' in object which has no fields or methods
80 | if m.Header.Level != SOL_SOCKET {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:80:23: error: reference to undefined name 'SOL_SOCKET'
80 | if m.Header.Level != SOL_SOCKET {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:81:15: error: reference to undefined name 'EINVAL'
81 | return nil, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:83:13: error: reference to field 'Type' in object which has no fields or methods
83 | if m.Header.Type != SCM_RIGHTS {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:83:22: error: reference to undefined name 'SCM_RIGHTS'
83 | if m.Header.Type != SCM_RIGHTS {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix.go:84:15: error: reference to undefined name 'EINVAL'
84 | return nil, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix_other.go:15:12: error: reference to undefined name 'SizeofPtr'
15 | salign := SizeofPtr
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/sockcmsg_unix_other.go:27:6: error: reference to undefined name 'SizeofPtr'
27 | if SizeofPtr == 8 {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall.go:34:15: error: reference to undefined name 'EINVAL'
34 | return nil, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:41: error: use of undefined type 'Dirent'
81 | const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:41: error: use of undefined type 'Dirent'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:41: error: use of undefined type 'Dirent'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:41: error: use of undefined type 'Dirent'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:41: error: use of undefined type 'Dirent'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:58:10: error: reference to undefined name 'EINVAL'
58 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:61:12: error: reference to undefined name 'pipe'
61 | n, err := pipe(&pp)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:72:18: error: reference to undefined name 'EINVAL'
72 | return nil, 0, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:399:11: error: use of undefined type 'RawSockaddrInet4'
399 | pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:74:8: error: reference to field 'Family' in object which has no fields or methods
74 | sa.raw.Family = AF_INET
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:74:18: error: reference to undefined name 'AF_INET'
74 | sa.raw.Family = AF_INET
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:75:40: error: reference to field 'Port' in object which has no fields or methods
75 | p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:79:9: error: reference to field 'Addr' in object which has no fields or methods
79 | sa.raw.Addr[i] = sa.Addr[i]
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:81:34: error: reference to undefined name 'SizeofSockaddrInet4'
81 | return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:86:18: error: reference to undefined name 'EINVAL'
86 | return nil, 0, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:409:11: error: use of undefined type 'RawSockaddrInet6'
409 | pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:88:8: error: reference to field 'Family' in object which has no fields or methods
88 | sa.raw.Family = AF_INET6
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:88:18: error: reference to undefined name 'AF_INET6'
88 | sa.raw.Family = AF_INET6
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:89:40: error: reference to field 'Port' in object which has no fields or methods
89 | p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:92:8: error: reference to field 'Scope_id' in object which has no fields or methods
92 | sa.raw.Scope_id = sa.ZoneId
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:94:9: error: reference to field 'Addr' in object which has no fields or methods
94 | sa.raw.Addr[i] = sa.Addr[i]
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:96:34: error: reference to undefined name 'SizeofSockaddrInet6'
96 | return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:383:11: error: use of undefined type 'RawSockaddrUnix'
383 | pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:102:20: error: reference to field 'Path' in object which has no fields or methods
102 | if n >= len(sa.raw.Path) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:103:18: error: reference to undefined name 'EINVAL'
103 | return nil, 0, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:105:8: error: reference to field 'Family' in object which has no fields or methods
105 | sa.raw.Family = AF_UNIX
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:105:18: error: reference to undefined name 'AF_UNIX'
105 | sa.raw.Family = AF_UNIX
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:107:9: error: reference to field 'Path' in object which has no fields or methods
107 | sa.raw.Path[i] = int8(name[i])
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:110:8: error: reference to undefined name '_Socklen'
110 | sl := _Socklen(2)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:112:9: error: reference to undefined name '_Socklen'
112 | sl += _Socklen(n) + 1
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:114:11: error: reference to field 'Path' in object which has no fields or methods
114 | if sa.raw.Path[0] == '@' {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:115:9: error: reference to field 'Path' in object which has no fields or methods
115 | sa.raw.Path[0] = 0
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:117:3: error: increment or decrement of non-numeric type
117 | sl--
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:127:21: error: reference to undefined name 'SizeofSockaddrAny'
127 | var len _Socklen = SizeofSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:128:11: error: reference to undefined name 'getsockname'
128 | if err = getsockname(fd, &rsa, &len); err != nil {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:138:12: error: reference to undefined name '_Socklen'
138 | vallen := _Socklen(len(buf))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:139:9: error: reference to undefined name 'getsockopt'
139 | err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:151:11: error: reference to undefined name 'PathMax'
151 | var buf [PathMax]byte
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:153:11: error: reference to undefined name 'Getcwd'
153 | _, err = Getcwd(buf[0:])
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:159:14: error: reference to undefined name 'EINVAL'
159 | return "", EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:172:12: error: reference to undefined name 'getgroups'
172 | n, err := getgroups(0, nil)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:179:15: error: reference to undefined name 'EINVAL'
179 | return nil, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:184:22: error: non-integer len argument in make
184 | a := make([]_Gid_t, n)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:185:11: error: reference to undefined name 'getgroups'
185 | n, err = getgroups(n, &a[0])
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:189:21: error: non-integer len argument in make
189 | gids = make([]int, n)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:190:2: error: range clause must have array, slice, string, map, or channel type
190 | for i, v := range a[0:n] {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:198:10: error: reference to undefined name 'setgroups'
198 | return setgroups(0, nil)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:203:10: error: reference to undefined name '_Gid_t'
203 | a[i] = _Gid_t(v)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:205:9: error: reference to undefined name 'setgroups'
205 | return setgroups(len(a), &a[0])
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:212:9: error: reference to undefined name 'Getdents'
212 | return Getdents(fd, buf, new(uintptr))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:212:2: error: not enough arguments to return
212 | return Getdents(fd, buf, new(uintptr))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:253:94: error: reference to undefined name 'SIGSTOP'
253 | func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:255:96: error: reference to undefined name 'SIGSTOP'
255 | func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:270:15: error: reference to undefined name 'wait4'
270 | rpid, err := wait4(int32(pid), &status, options, rusage)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:284:11: error: reference to undefined name 'MaxHostNameLen'
284 | var buf [MaxHostNameLen]byte
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:285:12: error: reference to undefined name 'gethostname'
285 | n, err := gethostname(buf[:])
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:291:14: error: reference to undefined name 'EFAULT'
291 | return "", EFAULT
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:300:10: error: reference to undefined name 'utimes'
300 | return utimes(path, nil)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:303:10: error: reference to undefined name 'EINVAL'
303 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:305:9: error: reference to undefined name 'utimes'
305 | return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:312:10: error: reference to undefined name 'utimensat'
312 | return utimensat(AT_FDCWD, path, nil, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:312:20: error: reference to undefined name 'AT_FDCWD'
312 | return utimensat(AT_FDCWD, path, nil, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:315:10: error: reference to undefined name 'EINVAL'
315 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:317:9: error: reference to undefined name 'utimensat'
317 | return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:317:19: error: reference to undefined name 'AT_FDCWD'
317 | return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:322:10: error: reference to undefined name 'utimensat'
322 | return utimensat(dirfd, path, nil, flags)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:325:10: error: reference to undefined name 'EINVAL'
325 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:327:9: error: reference to undefined name 'utimensat'
327 | return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:334:57: error: reference to undefined name 'procfcntl'
334 | valptr, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:344:49: error: reference to undefined name 'procfcntl'
344 | _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:359:10: error: reference to undefined name 'futimesat'
359 | return futimesat(dirfd, pathp, nil)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:362:10: error: reference to undefined name 'EINVAL'
362 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:364:9: error: reference to undefined name 'futimesat'
364 | return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:372:10: error: reference to undefined name 'futimesat'
372 | return futimesat(fd, nil, nil)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:375:10: error: reference to undefined name 'EINVAL'
375 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:377:9: error: reference to undefined name 'futimesat'
377 | return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:126:10: error: use of undefined type 'RawSockaddrAny'
126 | var rsa RawSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:381:12: error: reference to field 'Addr' in object which has no fields or methods
381 | switch rsa.Addr.Family {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:382:7: error: reference to undefined name 'AF_UNIX'
382 | case AF_UNIX:
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:383:11: error: reference to undefined name 'RawSockaddrUnix'
383 | pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:383:10: error: expected pointer
383 | pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:398:7: error: reference to undefined name 'AF_INET'
398 | case AF_INET:
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:399:11: error: reference to undefined name 'RawSockaddrInet4'
399 | pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:399:10: error: expected pointer
399 | pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:408:7: error: reference to undefined name 'AF_INET6'
408 | case AF_INET6:
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:409:11: error: reference to undefined name 'RawSockaddrInet6'
409 | pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:409:10: error: expected pointer
409 | pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:419:14: error: reference to undefined name 'EAFNOSUPPORT'
419 | return nil, EAFNOSUPPORT
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:426:21: error: reference to undefined name 'SizeofSockaddrAny'
426 | var len _Socklen = SizeofSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:427:13: error: reference to undefined name 'accept'
427 | nfd, err = accept(fd, &rsa, &len)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:433:3: error: reference to undefined name 'Close'
433 | Close(nfd)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:442:10: error: use of undefined type 'Msghdr'
442 | var msg Msghdr
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:444:5: error: reference to field 'Name' in object which has no fields or methods
444 | msg.Name = (*byte)(unsafe.Pointer(&rsa))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:445:5: error: reference to field 'Namelen' in object which has no fields or methods
445 | msg.Namelen = uint32(SizeofSockaddrAny)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:445:23: error: reference to undefined name 'SizeofSockaddrAny'
445 | msg.Namelen = uint32(SizeofSockaddrAny)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:446:10: error: use of undefined type 'Iovec'
446 | var iov Iovec
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:448:6: error: reference to field 'Base' in object which has no fields or methods
448 | iov.Base = (*int8)(unsafe.Pointer(&p[0]))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:449:6: error: reference to field 'SetLen' in object which has no fields or methods
449 | iov.SetLen(len(p))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:455:7: error: reference to field 'Base' in object which has no fields or methods
455 | iov.Base = &dummy
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:456:7: error: reference to field 'SetLen' in object which has no fields or methods
456 | iov.SetLen(1)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:458:6: error: reference to field 'Accrightslen' in object which has no fields or methods
458 | msg.Accrightslen = int32(len(oob))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:460:5: error: reference to field 'Iov' in object which has no fields or methods
460 | msg.Iov = &iov
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:461:5: error: reference to field 'Iovlen' in object which has no fields or methods
461 | msg.Iovlen = 1
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:462:14: error: reference to undefined name 'recvmsg'
462 | if n, err = recvmsg(fd, &msg, flags); n == -1 {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:465:16: error: reference to field 'Accrightslen' in object which has no fields or methods
465 | oobn = int(msg.Accrightslen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:126:10: error: use of undefined type 'RawSockaddrAny'
126 | var rsa RawSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:467:8: error: reference to field 'Addr' in object which has no fields or methods
467 | if rsa.Addr.Family != AF_UNSPEC {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:467:24: error: reference to undefined name 'AF_UNSPEC'
467 | if rsa.Addr.Family != AF_UNSPEC {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:442:10: error: use of undefined type 'Msghdr'
442 | var msg Msghdr
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:490:5: error: reference to field 'Name' in object which has no fields or methods
490 | msg.Name = (*byte)(unsafe.Pointer(ptr))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:491:5: error: reference to field 'Namelen' in object which has no fields or methods
491 | msg.Namelen = uint32(salen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:446:10: error: use of undefined type 'Iovec'
446 | var iov Iovec
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:494:6: error: reference to field 'Base' in object which has no fields or methods
494 | iov.Base = (*int8)(unsafe.Pointer(&p[0]))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:495:6: error: reference to field 'SetLen' in object which has no fields or methods
495 | iov.SetLen(len(p))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:501:7: error: reference to field 'Base' in object which has no fields or methods
501 | iov.Base = &dummy
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:502:7: error: reference to field 'SetLen' in object which has no fields or methods
502 | iov.SetLen(1)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:504:6: error: reference to field 'Accrightslen' in object which has no fields or methods
504 | msg.Accrightslen = int32(len(oob))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:506:5: error: reference to field 'Iov' in object which has no fields or methods
506 | msg.Iov = &iov
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:507:5: error: reference to field 'Iovlen' in object which has no fields or methods
507 | msg.Iovlen = 1
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:508:14: error: reference to undefined name 'sendmsg'
508 | if n, err = sendmsg(fd, &msg, flags); err != nil {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:522:10: error: reference to undefined name 'acct'
522 | return acct(nil)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:529:9: error: reference to undefined name 'acct'
529 | return acct(pathp)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:535:9: error: reference to undefined name '__makedev'
535 | return __makedev(NEWDEV, uint(major), uint(minor))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:535:19: error: reference to undefined name 'NEWDEV'
535 | return __makedev(NEWDEV, uint(major), uint(minor))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:541:16: error: reference to undefined name '__major'
541 | return uint32(__major(NEWDEV, dev))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:541:24: error: reference to undefined name 'NEWDEV'
541 | return uint32(__major(NEWDEV, dev))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:547:16: error: reference to undefined name '__minor'
547 | return uint32(__minor(NEWDEV, dev))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:547:24: error: reference to undefined name 'NEWDEV'
547 | return uint32(__minor(NEWDEV, dev))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:557:9: error: reference to undefined name 'ioctl'
557 | return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:562:9: error: reference to undefined name 'ioctl'
562 | err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:570:10: error: reference to undefined name 'poll'
570 | return poll(nil, 0, timeout)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:570:3: error: not enough arguments to return
570 | return poll(nil, 0, timeout)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:572:9: error: reference to undefined name 'poll'
572 | return poll(&fds[0], len(fds), timeout)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:572:2: error: not enough arguments to return
572 | return poll(&fds[0], len(fds), timeout)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:579:9: error: reference to undefined name 'sendfile'
579 | return sendfile(outfd, infd, offset, count)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:579:2: error: not enough arguments to return
579 | return sendfile(outfd, infd, offset, count)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:695:50: error: reference to undefined name 'procread'
695 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:704:50: error: reference to undefined name 'procwrite'
704 | r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:714:10: error: reference to undefined name 'mmap'
714 | mmap: mmap,
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:715:10: error: reference to undefined name 'munmap'
715 | munmap: munmap,
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:42:7: error: reference to undefined name 'EAGAIN'
42 | case EAGAIN:
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:44:7: error: reference to undefined name 'EINVAL'
44 | case EINVAL:
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:46:7: error: reference to undefined name 'ENOENT'
46 | case ENOENT:
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:54:23: error: reference to undefined name 'errorList'
54 | i := sort.Search(len(errorList), func(i int) bool {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:57:13: error: reference to undefined name 'errorList'
57 | if i < len(errorList) && errorList[i].num == e {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:57:27: error: reference to undefined name 'errorList'
57 | if i < len(errorList) && errorList[i].num == e {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:58:10: error: reference to undefined name 'errorList'
58 | return errorList[i].name
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:55:10: error: reference to undefined name 'errorList'
55 | return errorList[i].num >= e
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:65:23: error: reference to undefined name 'signalList'
65 | i := sort.Search(len(signalList), func(i int) bool {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:68:13: error: reference to undefined name 'signalList'
68 | if i < len(signalList) && signalList[i].num == s {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:68:28: error: reference to undefined name 'signalList'
68 | if i < len(signalList) && signalList[i].num == s {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:69:10: error: reference to undefined name 'signalList'
69 | return signalList[i].name
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:66:10: error: reference to undefined name 'signalList'
66 | return signalList[i].num >= s
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:80:26: error: reference to undefined name 'signalList'
80 | for _, signal := range signalList {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:80:26: error: reference to undefined name 'signalList'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:80:3: error: range clause must have array, slice, string, map, or channel type
80 | for _, signal := range signalList {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:107:15: error: reference to undefined name 'EINVAL'
107 | return nil, EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:136:10: error: reference to undefined name 'EINVAL'
136 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:145:10: error: reference to undefined name 'EINVAL'
145 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:157:11: error: reference to undefined name 'read'
157 | n, err = read(fd, p)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:173:11: error: reference to undefined name 'write'
173 | n, err = write(fd, p)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:215:9: error: reference to undefined name 'bind'
215 | return bind(fd, ptr, n)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:223:9: error: reference to undefined name 'connect'
223 | return connect(fd, ptr, n)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:228:21: error: reference to undefined name 'SizeofSockaddrAny'
228 | var len _Socklen = SizeofSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:229:11: error: reference to undefined name 'getpeername'
229 | if err = getpeername(fd, &rsa, &len); err != nil {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:237:12: error: reference to undefined name '_Socklen'
237 | vallen := _Socklen(1)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:238:8: error: reference to undefined name 'getsockopt'
238 | err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:244:12: error: reference to undefined name '_Socklen'
244 | vallen := _Socklen(4)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:245:8: error: reference to undefined name 'getsockopt'
245 | err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:250:12: error: reference to undefined name '_Socklen'
250 | vallen := _Socklen(4)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:251:8: error: reference to undefined name 'getsockopt'
251 | err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:257:12: error: reference to undefined name '_Socklen'
257 | vallen := _Socklen(SizeofIPMreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:257:21: error: reference to undefined name 'SizeofIPMreq'
257 | vallen := _Socklen(SizeofIPMreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:258:9: error: reference to undefined name 'getsockopt'
258 | err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:264:12: error: reference to undefined name '_Socklen'
264 | vallen := _Socklen(SizeofIPv6Mreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:264:21: error: reference to undefined name 'SizeofIPv6Mreq'
264 | vallen := _Socklen(SizeofIPv6Mreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:265:9: error: reference to undefined name 'getsockopt'
265 | err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:271:12: error: reference to undefined name '_Socklen'
271 | vallen := _Socklen(SizeofIPv6MTUInfo)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:271:21: error: reference to undefined name 'SizeofIPv6MTUInfo'
271 | vallen := _Socklen(SizeofIPv6MTUInfo)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:272:9: error: reference to undefined name 'getsockopt'
272 | err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:278:12: error: reference to undefined name '_Socklen'
278 | vallen := _Socklen(SizeofICMPv6Filter)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:278:21: error: reference to undefined name 'SizeofICMPv6Filter'
278 | vallen := _Socklen(SizeofICMPv6Filter)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:279:9: error: reference to undefined name 'getsockopt'
279 | err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:285:12: error: reference to undefined name '_Socklen'
285 | vallen := _Socklen(SizeofLinger)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:285:21: error: reference to undefined name 'SizeofLinger'
285 | vallen := _Socklen(SizeofLinger)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:286:9: error: reference to undefined name 'getsockopt'
286 | err := getsockopt(fd, level, opt, unsafe.Pointer(&linger), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:292:12: error: reference to undefined name '_Socklen'
292 | vallen := _Socklen(unsafe.Sizeof(tv))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:298:31: error: use of undefined type 'Timeval'
298 | func Utimes(path string, tv []Timeval) (err error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:293:9: error: reference to undefined name 'getsockopt'
293 | err := getsockopt(fd, level, opt, unsafe.Pointer(&tv), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:299:12: error: reference to undefined name '_Socklen'
299 | vallen := _Socklen(8)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:300:8: error: reference to undefined name 'getsockopt'
300 | err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:306:21: error: reference to undefined name 'SizeofSockaddrAny'
306 | var len _Socklen = SizeofSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:307:14: error: reference to undefined name 'recvfrom'
307 | if n, err = recvfrom(fd, p, flags, &rsa, &len); err != nil {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:126:10: error: use of undefined type 'RawSockaddrAny'
126 | var rsa RawSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:310:8: error: reference to field 'Addr' in object which has no fields or methods
310 | if rsa.Addr.Family != AF_UNSPEC {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:310:24: error: reference to undefined name 'AF_UNSPEC'
310 | if rsa.Addr.Family != AF_UNSPEC {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:321:9: error: reference to undefined name 'sendto'
321 | return sendto(fd, p, flags, ptr, n)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:325:9: error: reference to undefined name 'setsockopt'
325 | return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:330:9: error: reference to undefined name 'setsockopt'
330 | return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:334:9: error: reference to undefined name 'setsockopt'
334 | return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:338:9: error: reference to undefined name 'setsockopt'
338 | return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:338:58: error: reference to undefined name 'SizeofIPMreq'
338 | return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:342:9: error: reference to undefined name 'setsockopt'
342 | return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:342:58: error: reference to undefined name 'SizeofIPv6Mreq'
342 | return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:346:9: error: reference to undefined name 'setsockopt'
346 | return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:346:60: error: reference to undefined name 'SizeofICMPv6Filter'
346 | return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:350:9: error: reference to undefined name 'setsockopt'
350 | return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:350:55: error: reference to undefined name 'SizeofLinger'
350 | return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:358:9: error: reference to undefined name 'setsockopt'
358 | return setsockopt(fd, level, opt, p, uintptr(len(s)))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:362:9: error: reference to undefined name 'setsockopt'
362 | return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:366:9: error: reference to undefined name 'setsockopt'
366 | return setsockopt(fd, level, opt, unsafe.Pointer(&value), 8)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:370:15: error: reference to undefined name 'AF_INET6'
370 | if domain == AF_INET6 && SocketDisableIPv6 {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:371:14: error: reference to undefined name 'EAFNOSUPPORT'
371 | return -1, EAFNOSUPPORT
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:373:12: error: reference to undefined name 'socket'
373 | fd, err = socket(domain, typ, proto)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:379:8: error: reference to undefined name 'socketpair'
379 | err = socketpair(domain, typ, proto, &fdx)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:389:28: error: reference to undefined name 'fcntl'
389 | func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:389:38: error: reference to undefined name 'F_SETFD'
389 | func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:389:47: error: reference to undefined name 'FD_CLOEXEC'
389 | func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:392:15: error: reference to undefined name 'fcntl'
392 | flag, err := fcntl(fd, F_GETFL, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:392:25: error: reference to undefined name 'F_GETFL'
392 | flag, err := fcntl(fd, F_GETFL, 0)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:397:11: error: reference to undefined name 'O_NONBLOCK'
397 | flag |= O_NONBLOCK
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:399:12: error: reference to undefined name 'O_NONBLOCK'
399 | flag &= ^O_NONBLOCK
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:401:11: error: reference to undefined name 'fcntl'
401 | _, err = fcntl(fd, F_SETFL, flag)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:401:21: error: reference to undefined name 'F_SETFL'
401 | _, err = fcntl(fd, F_SETFL, flag)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:421:23: error: reference to undefined name 'AT_FDCWD'
421 | return UtimesNanoAt(AT_FDCWD, path, nil, AT_SYMLINK_NOFOLLOW)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:421:44: error: reference to undefined name 'AT_SYMLINK_NOFOLLOW'
421 | return UtimesNanoAt(AT_FDCWD, path, nil, AT_SYMLINK_NOFOLLOW)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:424:10: error: reference to undefined name 'EINVAL'
424 | return EINVAL
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:430:22: error: reference to undefined name 'AT_FDCWD'
430 | return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:430:42: error: reference to undefined name 'AT_SYMLINK_NOFOLLOW'
430 | return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:310:35: error: use of undefined type 'Timespec'
310 | func UtimesNano(path string, ts []Timespec) error {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:13:57: error: reference to field 'Sec' in object which has no fields or methods
13 | func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:13:77: error: reference to field 'Nsec' in object which has no fields or methods
13 | func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:24:9: error: reference to undefined name 'setTimespec'
24 | return setTimespec(sec, nsec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:34:8: error: reference to undefined name 'setTimespec'
34 | ts := setTimespec(sec, nsec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:40:22: error: reference to undefined name 'ERANGE'
40 | return Timespec{}, ERANGE
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:47:55: error: reference to field 'Sec' in object which has no fields or methods
47 | func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:47:75: error: reference to field 'Usec' in object which has no fields or methods
47 | func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:59:9: error: reference to undefined name 'setTimeval'
59 | return setTimeval(sec, usec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:65:17: error: reference to field 'Sec' in object which has no fields or methods
65 | return int64(ts.Sec), int64(ts.Nsec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:65:32: error: reference to field 'Nsec' in object which has no fields or methods
65 | return int64(ts.Sec), int64(ts.Nsec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:71:17: error: reference to field 'Sec' in object which has no fields or methods
71 | return int64(tv.Sec), int64(tv.Usec) * 1000
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:71:32: error: reference to field 'Usec' in object which has no fields or methods
71 | return int64(tv.Sec), int64(tv.Usec) * 1000
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:76:17: error: reference to field 'Sec' in object which has no fields or methods
76 | return int64(ts.Sec)*1e9 + int64(ts.Nsec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:76:37: error: reference to field 'Nsec' in object which has no fields or methods
76 | return int64(ts.Sec)*1e9 + int64(ts.Nsec)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:81:17: error: reference to field 'Sec' in object which has no fields or methods
81 | return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/timestruct.go:81:37: error: reference to field 'Usec' in object which has no fields or methods
81 | return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:26:47: error: use of undefined type 'Winsize'
26 | func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:37:47: error: use of undefined type 'Termios'
37 | func IoctlSetTermios(fd int, req uint, value *Termios) error {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:26:47: error: use of undefined type 'Winsize'
26 | func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:26:47: error: use of undefined type 'Winsize'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:37:47: error: use of undefined type 'Termios'
37 | func IoctlSetTermios(fd int, req uint, value *Termios) error {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/ioctl.go:37:47: error: use of undefined type 'Termios'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:35:9: error: use of undefined type 'RawSockaddrDatalink'
35 | raw RawSockaddrDatalink
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:60:12: error: use of undefined type '_C_int'
60 | var pp [2]_C_int
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:126:10: error: use of undefined type 'RawSockaddrAny'
126 | var rsa RawSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:184:14: error: use of undefined type '_Gid_t'
184 | a := make([]_Gid_t, n)
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:268:63: error: use of undefined type 'Rusage'
268 | func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (int, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:60:12: error: use of undefined type '_C_int'
60 | var pp [2]_C_int
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:343:42: error: use of undefined type 'Flock_t'
343 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:126:10: error: use of undefined type 'RawSockaddrAny'
126 | var rsa RawSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:556:46: error: use of undefined type 'Termio'
556 | func IoctlSetTermio(fd int, req uint, value *Termio) (err error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:556:46: error: use of undefined type 'Termio'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:556:46: error: use of undefined type 'Termio'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:568:17: error: use of undefined type 'PollFd'
568 | func Poll(fds []PollFd, timeout int) (n int, err error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:126:10: error: use of undefined type 'RawSockaddrAny'
126 | var rsa RawSockaddrAny
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:255:45: error: use of undefined type 'IPMreq'
255 | func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:255:45: error: use of undefined type 'IPMreq'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:262:47: error: use of undefined type 'IPv6Mreq'
262 | func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:262:47: error: use of undefined type 'IPv6Mreq'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:269:50: error: use of undefined type 'IPv6MTUInfo'
269 | func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:269:50: error: use of undefined type 'IPv6MTUInfo'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:276:51: error: use of undefined type 'ICMPv6Filter'
276 | func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:276:51: error: use of undefined type 'ICMPv6Filter'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:283:45: error: use of undefined type 'Linger'
283 | func GetsockoptLinger(fd, level, opt int) (*Linger, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:283:45: error: use of undefined type 'Linger'
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:70:54: error: use of undefined type '_Socklen'
70 | func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:255:45: error: use of undefined type 'IPMreq'
255 | func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:262:47: error: use of undefined type 'IPv6Mreq'
262 | func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:276:51: error: use of undefined type 'ICMPv6Filter'
276 | func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:283:45: error: use of undefined type 'Linger'
283 | func GetsockoptLinger(fd, level, opt int) (*Linger, error) {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:11:29: error: invalid context-determined non-integer type for left operand of shift
11 | fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:16:30: error: invalid context-determined non-integer type for left operand of shift
16 | fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS))
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/fdset.go:26:6: error: invalid type for range clause
26 | for i := range fds.Bits {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:190:6: error: invalid type for range clause
190 | for i, v := range a[0:n] {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_solaris.go:190:6: error: invalid type for range clause
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/syscall_unix.go:80:7: error: invalid type for range clause
80 | for _, signal := range signalList {
| ^
../go/pkg/mod/golang.org/x/sys@v0.0.0-20191113165036-4c7a9d0fe056/unix/dirent.go:81:18: error: expression is not constant
81 | const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
| ^
go1: internal compiler error: in function_set_parameters, at go/go-gcc.cc:3356
0x4dd6cb Gcc_backend::function_set_parameters(Bfunction*, std::vector<Bvariable*, std::allocator<Bvariable*> > const&)
../../gcc-svn/gcc/go/go-gcc.cc:3356
0x502fab Function::build(Gogo*, Named_object*)
../../gcc-svn/gcc/go/gofrontend/gogo.cc:6509
0x50dd2f Gogo::write_globals()
../../gcc-svn/gcc/go/gofrontend/gogo.cc:1605
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment