[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12387 [Tor bundles/installation]: (Some) Pluggable Transport binaries are not stripped
#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 yawning):
Replying to [comment:5 dcf]:
> 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].
Per the Debian bug:
> We believe that the bug you reported is fixed in the latest version of
golang, which is due to be installed in the Debian FTP archive.
I'm not sure how relevant this problem is, because:
* We don't build ARM binaries (except for Orbot and eventually Firefox
OS, where we can change the build procedure)
* We use Go 1.2.x last I checked.
I've only been stripping binaries for amd64, but I have had none of the
issues described at all (probably because I use Go 1.3 on amd64 instead of
ARM). As an additional point of reference even if we decide against
stripping, moving to Go 1.3 will omit the plan 9 symbol table resulting in
a substantial binary size reduction (in addition to other runtime
bugfixes), so it is probably worth considering.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12387#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs