[MacPorts] #66819: go 1.20.0 doesn't build on High Sierra
MacPorts
noreply at macports.org
Sun May 21 22:28:51 UTC 2023
#66819: go 1.20.0 doesn't build on High Sierra
---------------------+----------------------
Reporter: blair | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: go |
---------------------+----------------------
Comment (by herbygillot):
As of this moment in time, both `go-devel` and `go` are at version 1.20.4
(Go 1.20 branch).
Go requires Go to build.
The last version of Go that could be built from scratch with a C compiler
is Go 1.4 (the `go-1.4` port). Go 1.17 is the last version of Go that
could be built using `go-1.4`. From Go 1.18 onward, you must build using
Go 1.17 or higher. (https://github.com/golang/go/issues/44505)
For Go 1.20, we build and bootstrap it using a downloaded binary of the
same version of Go.
Older versions of macOS lack certain API functions and capabilities that
Go 1.20 expects, so the downloaded binary fails to execute.
--
Ticket URL: <https://trac.macports.org/ticket/66819#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list