Release notes: https://golang.org/doc/go1.6
It's not a security requirement or anything, but we're currently on 1.4.3 and don't want to fall too far behind.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
Here is a draft patch:
0001-Upgrade-go-to-1.6.patch
The patch is untested because I'm having trouble building Tor Browser right now. I thought I'd drop the patch rather than struggle more with Gitian. It illustrates the idea: first you build a go 1.4, then you use it to bootstrap a go 1.6.
Also, the patch should not be applied right away; that's because a security release, 1.6.1, is scheduled for two days hence. There is also supposed to be a non-security 1.6.2 release following.
Here's a better-tested patch (previous one didn't work). I managed to get a Tor Browser nightly partially built. It's working for linux but something is wrong with the Ubuntu containers so I haven't been able to try mac and windows yet.
0001-Upgrade-go-to-1.6.1.patch
This patch uses the now-released 1.6.1.
Trac: Summary: Upgrade go to 1.6 to Upgrade go to 1.6.1
The biggest change in the patch is that we now make a shell script containing the CFLAGS and LDFLAGS needed for cross-compilation. The build system in recent versions of Go strips off arguments from CC, which is where we used to pass CFLAGS and LDFLAGS: https://github.com/golang/go/issues/15457.
Trac: Status: new to needs_review Summary: Upgrade go to 1.6.1 to Upgrade go to 1.6.2 Keywords: tbb-gitian deleted, tbb-gitian TorBrowserTeam201604R added