Closed wzheng21 closed 1 month ago
Thanks for the PR.
What you are seeing is not an error but a warning. Please also make sure to modify Bazel files only if the CMake build is not affected to avoid side effects.
That makes sense. Sorry it's a warning. Actually we declared things like InstallSymbolizeCallback
in our implementation, then we actually get linking error with the new version of glog. (which makes sense since there's no HAVE_SYMBOLIZE
anymore, so the function definition is never compiled into the library)
Alternative solution with "bazel only changes": add -DHAVE_SYMBOLIZE
to bazel/glog.bzl
in linux_only_copts
.
Fixed by #1116.
Fixing issue #1084 . We are trying to bump glog up to latest version using bazel in our project.
In glog.bzl, there's HAVE_LINK_H defined. However, in symbolize.h, it doesn't lead to defining HAVE_SYMBOLIZE, resulting in the error