[tor-bugs] #12387 [Tor bundles/installation]: (Some) Pluggable Transport binaries are not stripped
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jul 17 14:30:56 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:6 yawning]:
> 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.
"We believe the bug is fixed" means that Debian stopped stripping golang
executables, not that it became safe to strip them. (Check the "Wed, 17
Jul 2013 19:15:18 +0200" entry in the [http://metadata.ftp-
master.debian.org/changelogs//main/g/golang/golang_1.3-3_changelog Debian
changelog].)
I keep running into comments by Dave Cheney saying "don't run strip on
your executables." According to the comment:7, `-ldflags '-s'` works just
as well anyway.
* https://donatstudios.com/Golang-Binary-Sizes#Comment23795\\
"Finally, please don't strip your binaries; it isn't supported, isn't
tested and is known to produce broken executables."
* https://plus.google.com/+JeromeClarke/posts/dbdYcVnXSm4\\
"Don't strip your +The Go Programming Language programs. Stripping
isn't tested as part of the CI build and is often broken."
I'm going to work on a patch to use the `-s` option and see how it affects
bundle sizes.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12387#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list