Skip to content

build: Disable libunwind in gperftools config. (#1071) - #1077

Merged
mattklein123 merged 1 commit into
envoyproxy:masterfrom
jrajahalme:1071-disable-libunwind-for-gperftools
Jun 9, 2017
Merged

mattklein123 merged 1 commit into
envoyproxy:masterfrom
jrajahalme:1071-disable-libunwind-for-gperftools

Conversation

@jrajahalme

Copy link
Copy Markdown
Contributor

gperftools uses libunwind if the build system has it, but envoy
build system is unaware of this dependency, which causes a build
failure due to libunwind not being included in the link. On the
other hand, linking libunwind unconditionally causes a link
failure in build environments without libunwind.

gperftools can decode stack traces without libunwind if stack frame
pointers are used. We already do that for Envoy, so not using
libunwind is only a problem for collectiong stack traces system and
compiler libraries compiled without stack frame pointers.

Disable libunwind in gperftools configuration for now, and revisit
later if needed.

Signed-off-by: Jarno Rajahalme [email protected]

gperftools uses libunwind if the build system has it, but envoy
build system is unaware of this dependency, which causes a build
failure due to libunwind not being included in the link.  On the
other hand, linking libunwind unconditionally causes a link
failure in build environments without libunwind.

gperftools can decode stack traces without libunwind if stack frame
pointers are used.  We already do that for Envoy, so not using
libunwind is only a problem for collectiong stack traces system and
compiler libraries compiled without stack frame pointers.

Disable libunwind in gperftools configuration for now, and revisit
later if needed.

Signed-off-by: Jarno Rajahalme <[email protected]>
@mattklein123

Copy link
Copy Markdown
Member

@jrajahalme

jrajahalme commented Jun 9, 2017 via email

Copy link
Copy Markdown
Contributor Author

@mattklein123
mattklein123 merged commit ce3ffea into envoyproxy:master Jun 9, 2017
jpsim pushed a commit that referenced this pull request Nov 28, 2022
These are unused and triggering warnings when building.

Signed-off-by: Michael Rebello <[email protected]>
Signed-off-by: JP Simard <[email protected]>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
These are unused and triggering warnings when building.

Signed-off-by: Michael Rebello <[email protected]>
Signed-off-by: JP Simard <[email protected]>
mathetake added a commit that referenced this pull request Mar 3, 2026
**Description**

This updates to Go 1.25 and uses some new features.

See https://tip.golang.org/doc/go1.25

---------

Signed-off-by: Adrian Cole <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Co-authored-by: Takeshi Yoneda <[email protected]>
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.

3 participants