#20023: Upgrade Go to 1.7.1 --------------------------------------+--------------------- Reporter: dcf | Owner: dcf Type: task | Status: new Priority: Medium | Milestone: Component: Applications/Tor Browser | Version: Severity: Normal | Resolution: Keywords: tbb-gitian | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: --------------------------------------+---------------------
Comment (by gk): Replying to [comment:6 dcf]: > This is going to be a little more work than I expected. Some cgo components have changed in 1.7 in ways that affect the build. > > The build error in comment:5 was caused by this: > {{{ > # crypto/x509 > crypto/x509/root_cgo_darwin.go: In function 'FetchPEMRoots': > crypto/x509/root_cgo_darwin.go:97: error: 'for' loop initial declaration used outside C99 mode > crypto/x509/root_cgo_darwin.go:106: error: 'for' loop initial declaration used outside C99 mode > }}} > MacPorts has a ticket with the same error: https://trac.macports.org/ticket/52506 > I think it's caused by the old gcc we use in the mac descriptor. FWIW: if it's easier than fixing the old toolchain related issues then it might be a good time to switch to the newer one we use for the Firefox part. I am doing that for Tor in #20184 for unrelated reasons. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20023#comment:7> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs