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

libglog.pc.in should include libunwind as private dep for static linking case #57

Closed
Katerall opened this issue Sep 7, 2015 · 2 comments · Fixed by #787
Closed

libglog.pc.in should include libunwind as private dep for static linking case #57

Katerall opened this issue Sep 7, 2015 · 2 comments · Fixed by #787

Comments

@Katerall
Copy link

Katerall commented Sep 7, 2015

This was reported along with a patch by someone before (+CLA):
https://code.google.com/p/google-glog/issues/detail?id=207

I ran into this issue during compilation with errors similar to those reported in the issue:

/local/adp/unwind-compile-error/protobuf-util/vendor/src/glog-build/../glog/src/stacktrace_libunwind-inl.h:65: undefined reference to `_Ux86_64_getcontext'
/local/adp/unwind-compile-error/protobuf-util/vendor/src/glog-build/../glog/src/stacktrace_libunwind-inl.h:66: undefined reference to `_ULx86_64_init_local'
/local/adp/unwind-compile-error/protobuf-util/vendor/src/glog-build/../glog/src/stacktrace_libunwind-inl.h:78: undefined reference to `_ULx86_64_step'
/local/adp/unwind-compile-error/protobuf-util/vendor/src/glog-build/../glog/src/stacktrace_libunwind-inl.h:70: undefined reference to `_ULx86_64_get_reg'

Applying the patch worked for me. Please fix.

@amosbird
Copy link

The patch gets lost in the original url. I don't see related fixes, however, it's mentioned as fixed in 0.5. Any references?

@sergiud
Copy link
Collaborator

sergiud commented Jan 24, 2022

The issue was closed without a fix. Please submit a PR.

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 a pull request may close this issue.

3 participants