4 ms·
Something I have been wondering is whether the Go bootstrap, wherein Go is itself built from Go 1.4, also needs to be updated so that Go bootstraps from Go 1.17
by buro9 5y ago
Something I have been wondering is whether the Go bootstrap, wherein Go is itself built from Go 1.4, also needs to be updated so that Go bootstraps from Go 1.17 or 1.18.
The reason for this is the change in syntax for build conditionals. Go 1.17 being compatible with the old and new, but Go 1.18 will only be compatible with the new. By which point Go 1.18 will only use the new and Go 1.4 would no longer be able to build later versions of Go.
- dtech 5y agoiirc correctly their bootstrap always has been to bootstrap a Go 1.n version, that can build Go 1.n+1 etc.
- Vogtinator 5y agoNot always, there are gaps allowed.
- vvern 5y agoVersions after go1.4 up to 1.17 need to be built with 1.4. From 1.18 on, they need to be built with 1.16. See https://github.com/golang/go/issues/44505 https://github.com/golang/go/issues/44505.
- vvern 5y agoupdate: they missed implementing this and now go1.17 will be required to bootstrap go1.19+. https://github.com/golang/go/issues/44505#issuecomment-942593422 https://github.com/golang/go/issues/44505#issuecomment-94259...