[tor-bugs] #29694 [Applications/Tor Browser]: Build Go binaries with `-buildmode=pie"?

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 8 05:08:19 UTC 2020


#29694: Build Go binaries with `-buildmode=pie"?
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-rbm                   |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by cypherpunks):

 > I was looking a bit how the obfs4proxy binary gets build for Android
 today and it turns out that Briar etc. use -buildmode=pie.
 Android 5.0+ refuses to run non-PIE executables, so PIE is the default.
 Since Go 1.13: Go programs are now compatible with Android 10 (and even
 https://github.com/golang/go/commit/e4665da9bcdd4e9136c7ed97ab4253def130b89d).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29694#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list