Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GLOG depends on libunwind. Sometimes libunwind symbols were missing.
This commit adds libunwind explicitly to the linking command.
- Loading branch information
c9bc0dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably possible to tell glog to use frame pointers instead of libunwind, which would have the additional benefit of working better with the profiler. We might want to check if libunwind can be found, and if not, enable frame pointers.
I also thought about redistributing libunwind in third-party to make the profiler easier to build. The only thing to watch out for there is that gperftools prefers a particular version of libunwind, which I think doesn't have great C++11 support.