[tor-bugs] #12387 [Tor bundles/installation]: (Some) Pluggable Transport binaries are not stripped

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 15 01:11:32 UTC 2014


#12387: (Some) Pluggable Transport binaries are not stripped
-------------------------------------+-------------------------------------
     Reporter:  gk                   |      Owner:  erinn
         Type:  defect               |     Status:  new
     Priority:  normal               |  Milestone:
    Component:  Tor                  |    Version:
  bundles/installation               |   Keywords:  TorBrowserTeam201407,
   Resolution:                       |  tbb-testcase
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+-------------------------------------

Comment (by dcf):

 Replying to [comment:4 dcf]:
 > Specifically for Go programs, "[https://donatstudios.com/Golang-Binary-
 Sizes#Comment23795 it isn't supported, isn't tested and is known to
 produce broken executables.]" I don't know exactly what the problem is,
 but we should check it out before trying to strip Go programs. I heard
 that Yawning has been stripping obfs4 without ill effects.
 >  * [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717172 Debian
 #717172 - Stripping golang binaries causes crashes]
 >  * [https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1200255 Ubuntu
 #1200255 - go get ... fails with SIGILL on armhf]

 According to the lantern-devel mailing list,
 "[https://groups.google.com/forum/#!topic/lantern-devel/FUN00B8rZtQ
 Compiling Go binaries with the -w linker flag makes binaries quite a bit
 smaller]." `-w` is "omit the DWARF symbol table." Additionally `-s` ("omit
 the symbol table and debug information") looks useful among the
 [http://golang.org/cmd/ld/ ld options].

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


More information about the tor-bugs mailing list