Re: go1.13.1 build fails
Lucio De Re <[email protected]>
| Newsgroups | gmane.os.plan9.general |
|---|---|
| Message-ID | <CAJQ9t7gfXcopCsDyzYL05QYTT-jL6NdJB00p9oVEhMXtU2uriw@mail.gmail.com> |
In fact, I'd forgotten I'd had an exchange with a Go developer (I wish I could remember who) precisely over that "bootstrap" issue. Go1.4.3 needs a small enhancement, I forget from which target onwards because of some executable binary improvement even for Linux. But the bootstrap version is the recommended one, recently, as I mentioned. Here is Brad's message: --- cut --- You'll want to use the release-branch.go1.4 branch, not Go 1.4.3. See https://golang.org/doc/install/source#go14 which says: > To build a bootstrap toolchain from source, use either the git branch release-branch.go1.4 or go1.4-bootstrap-20171003.tar.gz, which contains the Go 1.4 source code plus accumulated fixes to keep the tools running on newer operating systems. (Go 1.4 was the last distribution in which the toolchain was written in C.) After unpacking the Go 1.4 source, cd to the src subdirectory, set CGO_ENABLED=0 in the environment, and run make.bash (or, on Windows, make.bat). --- cut --- On 10/7/19, David du Colombier <[email protected]> wrote: > I'd recommend bootstrapping Go with one of > the recent binary package available on: > > http://9legacy.org/download.html > > There might be issues when bootstrapping from Go 1.4. > Also, plan9/arm support started with Go 1.7. > > -- > David du Colombier > > -- Lucio De Re 2 Piet Retief St Kestell (Eastern Free State) 9860 South Africa Ph.: +27 71 471 3694 Cell: +27 83 251 5824