Obvious reason why shipped Go binary tarballs aren't stripped?

220 views
Skip to first unread message

coen...@wish.org.za

unread,
Aug 13, 2017, 11:24:07 PM8/13/17
to golang-dev
Is the main Go binary debugging information necessary by default to all users of Go? Shouldn't the binary distributions be stripped?

Volker Dobler

unread,
Aug 14, 2017, 5:34:24 AM8/14/17
to golang-dev
On Monday, 14 August 2017 05:24:07 UTC+2, Coenraad Loubser wrote:
Is the main Go binary debugging information necessary by default to all users of Go? Shouldn't the binary distributions be stripped?

Sometimes a stripped binary is preferable and sometimes
the debug information is valuable.

As a stripped binary does not offer much general benefit
but being able to see what went wrong in case of problems
is useful in most situations: Why change the default to stripped?

V.
Reply all
Reply to author
Forward
0 new messages