thinker0 opened a new pull request #3728:
URL: https://github.com/apache/incubator-heron/pull/3728
Fix glog/gflags
```
ERROR:
/Users/thinker0/opensource/heron/heron/stmgr/tests/cpp/util/BUILD:25:8: Linking
heron/stmgr/tests/cpp/util/tuple-cache_unittest failed: (Aborted):
cc_wrapper.sh failed: error executing command
external/local_config_cc/cc_wrapper.sh
@bazel-out/darwin-fastbuild/bin/heron/stmgr/tests/cpp/util/tuple-cache_unittest-2.params
Undefined symbols for architecture x86_64:
"google::FlagRegisterer::FlagRegisterer<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > >(char const*, char
const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*)", referenced from:
__GLOBAL__sub_I_logging.cc in libglog.a(libglog_la-logging.o)
__GLOBAL__sub_I_vlog_is_on.cc in libglog.a(libglog_la-vlog_is_on.o)
"google::FlagRegisterer::FlagRegisterer<bool>(char const*, char const*,
char const*, bool*, bool*)", referenced from:
__GLOBAL__sub_I_logging.cc in libglog.a(libglog_la-logging.o)
__GLOBAL__sub_I_utilities.cc in libglog.a(libglog_la-utilities.o)
"google::FlagRegisterer::FlagRegisterer<int>(char const*, char const*,
char const*, int*, int*)", referenced from:
__GLOBAL__sub_I_logging.cc in libglog.a(libglog_la-logging.o)
__GLOBAL__sub_I_vlog_is_on.cc in libglog.a(libglog_la-vlog_is_on.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Error in child process '/usr/bin/xcrun'. 1
external/local_config_cc/cc_wrapper.sh: line 69: 55349 Abort trap: 6
"$(/usr/bin/dirname "$0")"/wrapped_clang "$@"
INFO: Elapsed time: 87.665s, Critical Path: 47.17s
INFO: 339 processes: 139 internal, 200 local.
```

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]