../../../libgo/go/syscall/syscall_linux_riscv64.go:7:14: error: imported and 
not used: unsafe
    7 | import "unsafe"
      |              ^
../../../libgo/go/syscall/syscall_linux_riscv64.go:13:1: error: redefinition of 
'SetLen'
   13 | func (iov *Iovec) SetLen(length int) {
      | ^
../../../libgo/go/syscall/socket.go:437:1: note: previous definition of 
'SetLen' was here
  437 | func (iov *Iovec) SetLen(length int) {
      | ^
../../../libgo/go/syscall/syscall_linux_riscv64.go:17:1: error: redefinition of 
'SetControllen'
   17 | func (msghdr *Msghdr) SetControllen(length int) {
      | ^
../../../libgo/go/syscall/socket.go:441:1: note: previous definition of 
'SetControllen' was here
  441 | func (msghdr *Msghdr) SetControllen(length int) {
      | ^
../../../libgo/go/syscall/syscall_linux_riscv64.go:21:1: error: redefinition of 
'SetLen'
   21 | func (cmsg *Cmsghdr) SetLen(length int) {
      | ^
../../../libgo/go/syscall/socket.go:445:1: note: previous definition of 
'SetLen' was here
  445 | func (cmsg *Cmsghdr) SetLen(length int) {
      | ^
../../../libgo/go/syscall/syscall_linux_riscv64.go:14:10: error: incompatible 
types in assignment (cannot use type uint64 as type Iovec_len_t)
   14 |  iov.Len = uint64(length)
      |          ^
../../../libgo/go/syscall/syscall_linux_riscv64.go:18:20: error: incompatible 
types in assignment (cannot use type uint64 as type Msghdr_controllen_t)
   18 |  msghdr.Controllen = uint64(length)
      |                    ^
../../../libgo/go/syscall/syscall_linux_riscv64.go:22:11: error: incompatible 
types in assignment (cannot use type uint64 as type Cmsghdr_len_t)
   22 |  cmsg.Len = uint64(length)
      |           ^

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to