Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jul 2023 04:59:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 272421] lang/go120: Go-1.20 fails saying that unsafe.Slice requires go1.17 or later
Message-ID:  <bug-272421-42334-TCF0VOM0vS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272421-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272421-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked Golang Team (Nobody)
<go@FreeBSD.org> for maintainer-feedback:
Bug 272421: lang/go120: Go-1.20 fails saying that unsafe.Slice requires go1=
.17
or later
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272421



--- Description ---
The attached patch for misc/dive fails in compilation:
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17=
 or
later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_bsd.go:248:20: unsafe.Slice requires
go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires
go1.17 or later (-lang was set to go1.16; check go.mod)

This doesn't make sense because Go compiler's version is 1.20 which is later
than 1.17.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272421-42334-TCF0VOM0vS>