Skip to content
Snippets Groups Projects
Commit 47284bc9 authored by Matt Smiley's avatar Matt Smiley
Browse files

Add frame-pointer support to zlib

Enables more informative stack traces from git process failures through
use of frame pointers. Adds the "no-omit-frame-pointer" flag to gcc when
compiling the zlib library shared object.

Closes https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/1726

Changelog: changed
parent a3a20572
No related branches found
No related tags found
2 merge requests!76heptapod#711: 0.34 is the new stable,!73Sync up to upstream Omnibus GitLab 15.1
......@@ -27,6 +27,13 @@
build do
env = with_standard_compiler_flags
# Default from `configure` in upstream zlib
env['CFLAGS'] << ' -O3'
# Enable frame-pointers to support profiling processes that
# call this library's functions.
env['CFLAGS'] << ' -fno-omit-frame-pointer'
configure env: env
make "-j #{workers}", env: env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment