Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: don't strip release binaries #24296

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Conversation

benesch
Copy link
Contributor

@benesch benesch commented Mar 28, 2018

Stop stripping release binaries. This nearly doubles their size (55MiB
-> 110MiB), but it makes backtraces and pprof profiles substantially
more useful.

Note that we currently build our C/C++ dependencies with -g1, which is
enough debug information for symbolized backtraces but not enough debug
information to fully support a debugger (e.g. local variable
information).

Release note (build note): Release binaries are now built with enough
debug information to produce useful CPU profiles and backtraces.

Stop stripping release binaries. This nearly doubles their size (55MiB
-> 110MiB), but it makes backtraces and pprof profiles substantially
more useful.

Note that we currently build our C/C++ dependencies with `-g1`, which is
enough debug information for symbolized backtraces but not enough debug
information to fully support a debugger (e.g. local variable
information).

Release note (build note): Release binaries are now built with enough
debug information to produce useful CPU profiles and backtraces.
@benesch benesch requested review from bdarnell, tbg and a team March 28, 2018 19:08
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@benesch benesch merged commit 76e551d into cockroachdb:master Mar 28, 2018
@benesch benesch deleted the nostrip branch March 28, 2018 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants